diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-04-07 08:45:19 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-04-07 08:45:19 +0200 |
commit | c2624c03189562208a8e839b8a60291b763c8f44 (patch) | |
tree | b5e408de84692dc3ffc4bacdd0e042905944d1f3 /cmake | |
parent | 2f833b1c6438fb379e05f12e3111c30c0b2f3416 (diff) |
Fix cmake scripts with no fortran compiler
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/language_support.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/language_support.cmake b/cmake/language_support.cmake index 2f14f30b8..ddba50945 100644 --- a/cmake/language_support.cmake +++ b/cmake/language_support.cmake @@ -26,7 +26,7 @@ function(workaround_9220 language language_works) cmake_minimum_required(VERSION 2.8.0) set (CMAKE_Fortran_FLAGS \"${CMAKE_Fortran_FLAGS}\") set (CMAKE_EXE_LINKER_FLAGS \"${CMAKE_EXE_LINKER_FLAGS}\") - enable_language(${language} OPTIONAL) + enable_language(${language}) ") file(REMOVE_RECURSE ${CMAKE_BINARY_DIR}/language_tests/${language}) file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/language_tests/${language}) |