On Unix-like operating systems, it is possible to use the pkg-config program to find and configure packages that provides a <package>.pc file.
In order to use pkg-config, it is necessary to call include(FindPkgConfig) in a CMakeLists.txt. Then, there are 2 possible functions:
pkg_search_mo...