On 2007-04-11 19:48-0700 E. Wing wrote:

Okay, here's a silly question. Why doesn't this work as I think it should?


SET(IS_TRUE TRUE)
IF(${IS_TRUE})
        MESSAGE("IS_TRUE Is true")
ELSE(${IS_TRUE})
        MESSAGE("IS_TRUE Is false")
ENDIF(${IS_TRUE})

Replace ${IS_TRUE} by IS_TRUE, and it will.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
_______________________________________________
CMake mailing list
[EMAIL PROTECTED]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to