Re: [CMake] CMake macro problem

2009-02-13 Thread Matthew Woehlke
Marcel Loose wrote: I have a problem with a self-written CMake macro, but I don't know exactly what the problem is. I have defined macro(SetIfElse var val def), which is supposed to assign the contents of val to var, when val is defined; otherwise it should assign the contents of def to var. Thi

[CMake] CMake macro problem

2009-02-13 Thread Marcel Loose
Hi, I have a problem with a self-written CMake macro, but I don't know exactly what the problem is. I have defined macro(SetIfElse var val def), which is supposed to assign the contents of val to var, when val is defined; otherwise it should assign the contents of def to var. This macro was inspi