[CMake] Version checking in FindFoo.cmake modules
Matt Williams
lists at milliams.com
Mon Nov 17 18:32:40 EST 2008
I was reading up on the documentation on the 2.6 version of find_package() and
it seems that being able to pass a version string to it only works if
find_package() uses a FooConfig.cmake file and not a FindFoo.cmake file.
In other words, if I'm writing a FindFoo.cmake file, it seems that the
PACKAGE_FIND_NAME, PACKAGE_FIND_VERSION etc. variables aren't set.
I tried to make it work but I couldn't. Am I missing something or is it really
not possible to do version checking with FindFoo.cmake modules?
Matt Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081117/bd318afd/attachment.pgp>
More information about the CMake
mailing list