Enable C and C++ first in Fortran test
CMake now looks for a Fortran compiler matching any C or C++ compiler already enabled. We test this by enabling C and C++ first in the Fortran test, which is what user projects will likely do.
This commit is contained in:
parent
4debb7ac69
commit
14b12d0355
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required (VERSION 2.6)
|
||||
project(testf Fortran C CXX)
|
||||
project(testf C CXX Fortran)
|
||||
message("CTEST_FULL_OUTPUT ")
|
||||
set(CMAKE_VERBOSE_MAKEFILE 1)
|
||||
message("ENV_FLAGS = $ENV{FFLAGS}")
|
||||
|
|
Loading…
Reference in New Issue