[CMake] XXX_ROOT_DIR suggested Module variable

Philip Lowman philip at yhbt.com
Mon Aug 13 23:29:36 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In the CMake Modules/readme.txt[1] it states that

XXX_ROOT_DIR means:         	Where to find the base directory of XXX.

Is this variable meant as a way to allow the code calling FIND_PACKAGE()
to direct where to look for the library?  Or is this just meant as an
output variable by FindFoo() to indicate where Foo actually is?

If the first question is not true, is there any standard way to suggest
to a module to look for a library bundle in a suggested location first?
 I guess I'm thinking of Windows development where libraries are usually
not installed in a standard location and need to be included alongside
the source code.

[1]
http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view=markup

- --
Philip Lowman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGwSGge0tOktX6RKkRAjZeAJ0SmNATKst3cBahoHLHtg6c3xD/6ACeI7KV
ocKiRmpZ8xGQeWyMCUN2Pgs=
=/ry2
-----END PGP SIGNATURE-----


More information about the CMake mailing list