[CMake] FIND_FILE in vector

klaas.holwerda kholwerd at xs4all.nl
Fri Oct 21 04:39:34 EDT 2005


Hi Bill or is it William??

This indeed works, but i like to understand why.
Does Cmake Unwrap a vertor in seperate argument when not quoted?

Is this mechanism the same for macros? Currently when i want to give a 
vector to a macro, i write "var;var2;var3".

Where is the trick ? :-)

Thanks for answering, and maybe some more explanation,

Klaas

William A. Hoffman wrote:

>The double quotes are messing you up.
>
>Try:
>FIND_FILE( VERSION_H wx/version.h ${WXWINDOWS_INCLUDE_DIRECTORIES} )
>
>-Bill
>  
>




More information about the CMake mailing list