[CMake] find_package, quiet and yyyConfig files

Micha Renner Micha.Renner at t-online.de
Thu Feb 10 03:03:31 EST 2011


There is a library, which is described with these TLIBConfig.cmake,
TLIBConfigVersion.cmake files (The version of the library is 2.1).

The library is used by
FIND_PACKAGE(TLIB 2.30 QUIET)

Is there a way to check the version of the library after FIND_PACKAGE?
E.g., if TLIB_VERSION would have a value, then the library exists, but
has the wrong version.

Micha





More information about the CMake mailing list