On 2008-05-11 19:35-0700 Radu Serban wrote:
Is there any way to check if a working Fortran compiler exists [...]?
Here is what PLplot does for this problem. (I cannot take credit for this CMake code, but it appears to work well.) # Check for fortran compiler include(CMakeDetermineFortranCompiler) if(NOT CMAKE_Fortran_COMPILER) message(STATUS "WARNING: " "fortran compiler not found. Disabling f77/f95 bindings" ) etc... 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 CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake