Hi all,
I'm puzzled w.r.t. the behavior of enable_language(... OPTIONAL).
When trying to enable Fortran optionally on a system without a working
Fortran compiler (/usr/bin/f95 is a dead symbolic link) I get:
CMAKE_Fortran_COMPILER = /usr/bin/f95
CMAKE_Fortran_COMPILER_WORKS = TRUE
which is qu
Hi all,
I noticed that, as of CMake 2.8.10, the variable
CMAKE__COMPILER_WORKS is no longer cached. This breaks
some of my code.
I have wrapped find_package() into a my own project-specific
CMake-function _find_package(). In one of my Find*.cmake
files I do a enable_language(Fortran) and ch