[CMake] Using pkg_check_modules on Windows

Andreas Haferburg ahaferburg at scopis.com
Fri Nov 30 06:01:38 EST 2012


I'm trying to use pkg_check_modules in my FindCMinPack script. How can I make it find the .pc file?

find_package(PkgConfig)
pkg_check_modules(PC_CMINPACK cminpack>=${CMinPack_FIND_VERSION})


-->
Found PkgConfig: C:/dev/bin/pkg-config.exe (found version "0.26")
checking for module 'cminpack>=1.1.3'
   package 'cminpack>=1.1.3' not found


Thanks,
Andreas


More information about the CMake mailing list