[CMake] CMAKE_FIND_ROOT_PATH and cross-compilation

Hendrik Sattler post at hendrik-sattler.de
Tue Jul 14 03:53:11 EDT 2009


Zitat von Marcel Loose <loose at astron.nl>:
> Now I know that you can add ONLY_CMAKE_FIND_ROOT_PATH to a find_xxx()
> option. However, I only need this when cross-compiling.
>
> In the documentation I saw a hint about CMAKE_FIND_ROOT_PATH_MODE_XXX,
> but I couldn't find any more info on that. Is this the variable I'm
> looking for? And if so, is it a boolean?

http://www.cmake.org/Wiki/CMake_Cross_Compiling
answers all those questions.

BTW: the variables are explained in the documentation of the find_*()  
functions that are affected by them.

HS




More information about the CMake mailing list