Browse Source

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.
Brad King 16 years ago
parent
commit
14b12d0355
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/Fortran/CMakeLists.txt

+ 1 - 1
Tests/Fortran/CMakeLists.txt

@@ -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}")