[CMake] Noob question

Alexander Neundorf a.neundorf-work at gmx.net
Tue Aug 12 03:11:18 EDT 2008


On Tuesday 12 August 2008 08:47:14 Alexander Neundorf wrote:
> I have try this:
>
> # Options for debug level
> if(NOT DEFINED ${DEBUG_LEVEL})

You are dereferencing the variable here.
Try 
if(NOT DEFINED DEBUG_LEVEL)
...

Alex




More information about the CMake mailing list