[CMake] Checking for empty string

Daniel Dekkers d.dekkers at cthrough.nl
Tue Oct 25 05:08:49 EDT 2011


hi there,

how do I test if a string is empty ("") or not ?
IF( ${test} STREQUAL "" )
gives the wrong number of arguments if ${test} is ""

thanks,

J 


More information about the CMake mailing list