[CMake] project (name NONE) still search for a valid compiler

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Mar 30 11:18:50 EDT 2010


On 2010-03-30 10:58-0400 Benoit Thomas wrote:

> I'm using version 2.8.0
> 
> Indeed, when I'm doing a small test project, everything works perfectly. But
> in my real project, it doesn't so I guess I'm doing something wrong
> somewhere. I'll try to isolate the code which cause this problem.

Some possibilities for why project(xyz NONE) does not work for you for your
real project is you may have used the "enable_language" CMake command
somewhere or you might even have multiple project commands.

HTH.

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
__________________________


More information about the CMake mailing list