[CMake] Find_ macros searching order
Alberto Luaces
aluaces at udc.es
Tue Apr 15 11:18:04 EDT 2008
Hi,
is there any way for the FIND_* macros (FIND_PATH, FIND_LIBRARY...) to search
first in the directories specified on the script and after that on common
system directories?
According to what I have read, it's done in the opposite order, so if I have a
private project branch in my home directory, CMake will always find system's
version instead. If I add NO_DEFAULT_PATH but my private branch doesn't
exist, CMake won't find any.
Thank you,
Alberto
More information about the CMake
mailing list