Sorry sent too soon, finger slipped.
...

I have been giving wrong advice about the usage of CMAKE_FIND_ROOT_PATH
which seems to be "reserved" for cross-compiling whereas

CMAKE_PREFIX_PATH
CMAKE_INCLUDE_PATH
CMAKE_PROGRAM_PATH
CMAKE_LIBRARY_PATH
CMAKE_IGNORE_PATH

are meant to be used in the general case.

Could someone enlighten me about the intended usage and
relationship between those vars and their "SYSTEM" counterpart
CMAKE_SYSTEM_*_PATH ?

And may be why do we need CMAKE_FIND_ROOT_PATH for cross-compiling
if CMAKE_PREFIX_PATH already existed?

CMAKE_*_PATH are documented (through --help-variables)
whereas CMAKE_FIND_ROOT_PATH doesn't seem to be currently.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to