[CMake] Problem building fortran project on Windows using Intel
Fortran 10 compiler
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Wed Oct 24 18:53:24 EDT 2007
On 2007-10-24 16:18-0600 Dunlavy, Daniel M wrote:
> Here is a copy of the CMakeLists.txt. I do not believe that anything
> below ENABLE_LANGUAGE(Fortran) is causing the problem, as CMakeSetup is
> choking on the Fortran tests run as a results of that command.
ENABLE_LANGUAGE has known general problems
(http://www.cmake.org/Bug/view.php?id=4772) and also additional specific
problems for fortran (at least for the g77 case, but perhaps other compilers
as well, see http://www.cmake.org/Bug/view.php?id=4773).
I suggest you work around the general ENABLE_LANGUAGE problem by specifying
the language(s) in the PROJECT statement instead. That should at least
simplify the errors that you see and might even solve them.
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