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
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})
I get "IS_TRUE Is false" when I run this.
The same thing for SET(IS_TRUE YES) and