Re: [CMake] Decide to include fortran during configure?

2010-07-23 Thread David Cole
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

[CMake] Decide to include fortran during configure?

2010-07-23 Thread James C. Sutherland
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