[CMake] FIND_FILE in vector

William A. Hoffman billlist at nycap.rr.com
Wed Oct 19 13:50:03 EDT 2005


The double quotes are messing you up.

Try:
FIND_FILE( VERSION_H wx/version.h ${WXWINDOWS_INCLUDE_DIRECTORIES} )

-Bill

At 01:39 PM 10/19/2005, klaas.holwerda wrote:
>Sorry, that what i meant.
>
>If in the next WXWINDOWS_INCLUDE_DIRECTORIES contains more path seperated by ";",
>is does not work.
>
>FIND_FILE( VERSION_H wx/version.h "${WXWINDOWS_INCLUDE_DIRECTORIES}" )
>
>Must i make myself a macro, or is there a simple thing i am missing?
>
>Thanks,
>
>Klaas
>
>David Cole wrote:
>
>>Does a semi-colon ( ; ) separated list work?
>>
>>klaas.holwerda wrote:
>>
>>>Hi,
>>>
>>>It seems it is not possible to use a comma seperated list of paths in a variable as input to FIND_FILE it path arguments.
>>>Is there a way around it?
>
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list