multiple pathes in cmake variables

Brad King brad.king at kitware.com
Mon Feb 13 17:22:56 CET 2006


Ralf Habacker wrote:
> Any better way to deal with  like extending FIND_PATH to be able to 
> handle path lists ?

We could extend FIND_PATH to allow relative paths to be given in the 
path list.  Any relative paths would be evaluate with respect to each 
entry in the CMAKE_INCLUDE_PATH variables.  Then one could do something 
like this:

FIND_PATH(LIBXML2_INCLUDE_DIR libxml/xpath.h libxml2)

-Brad


More information about the Kde-buildsystem mailing list