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
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to