http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:enable_language
if(option_is_on)
enable_languauge(Fortran)
endif()
should work...
On Fri, Jul 23, 2010 at 1:20 PM, James C. Sutherland <
james.sutherl...@utah.edu> wrote:
> I have a project that may need to use a fortran compiler de
I have a project that may need to use a fortran compiler depending on the
user configuration of the project.
The problem is that I don't want to force usage of fortran (in the project()
statement) since in some cases a user may not have a fortran compiler
installed and I want the configure to proc