Ioan Calin Borcoman wrote: > Does this apply to else(), too? > > And could you please update the man page? > In cmake 2.6.0 and greater the arguments are optional. if(foo AND BAR) ... endif() works just fine without the variable being set. -Bill