[CMake] Can't set CMAKE_Fortran_FLAGS ?
Convey Christian J NPRI
ConveyCJ at Npt.NUWC.Navy.Mil
Thu May 1 13:12:56 EDT 2008
> setenv FC /usr/bin/f77
> setenv FFLAGS "-fno-backslash"
> cmake
>
> Setting the compiler before the project command is not a good idea.
Thanks Bill, that did the trick.
Is there any plan to change this so that I can set these details inside a CMakeLists.txt file? Doing is via environmental variables seems contrary to CMake's idiom.
- Christian
More information about the CMake
mailing list