[CMake] how to add sources conditionally?

Prakash Punnoor lists at punnoor.de
Fri Nov 18 14:33:52 EST 2005


Miguel A. Figueroa-Villanueva schrieb:
>>IF(COND1)
>>SET(SRCS "${SRCS} ${SRC1}")
>>ENDIF(COND1)
> 
> 
> I think you need to remove the double-quotes
> 
> SET(SRCS ${SRCS} ${SRC1})

Thanks! That was it, I seem to have gotten a bit confused...

bye,

Prakash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20051118/0b64d3c4/signature.pgp


More information about the CMake mailing list