Andreas Beckermann <[EMAIL PROTECTED]> writes: > The pkg_check_modules() macro works mostly fine (thanks a lot, btw, > this saved me a lot of work), however I have one problem with it: once > it checked whether the modules are available, it defines a variable > __pkg_config_checked_<PREFIX> in CMakeCache.txt and won't check for > these modules again, once that variable is defined.
It is a general flaw in CMake which affects other situations too... There is missing something like './config.status --recheck' which would regenerate the cache from scratch with the original cmdline and environment. Enrico
pgplw3vUab4LI.pgp
Description: PGP signature
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake