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