[CMake] Weird if nesting problem

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Dec 5 17:56:37 EST 2006


On 2006-12-05 14:44-0700 James Bigler wrote:

> CMake barfs on the first IF(EXISTS ${PARSER_EXECUTABLE}), probably because it 
> is trying to evaluate if this expression is part of the ENDIF or something. 
> It does this with 2.2.3, 2.4.3, 2.4.5 on Linux.

Try IF(EXISTS ${PARSER_EXECUTABLE}) ==> IF(EXISTS PARSER_EXECUTABLE)

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 Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list