Hi, all:
I wonder if there is a convenient way to let CMakeLists.txt search for packages installed with ONLY .pc (package config) files, instead of .cmake files?
It seems find_package()
can ONLY search those packages with .cmake ?
Thank you
Hi, all:
I wonder if there is a convenient way to let CMakeLists.txt search for packages installed with ONLY .pc (package config) files, instead of .cmake files?
It seems find_package()
can ONLY search those packages with .cmake ?
Thank you
There is the FindPkgConfig
module to do this. But find_package
only looks for CMake packages.