aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Hans Johnson <hans.j.johnson@gmail.com>2019-11-17 14:59:32 -0600
committerGravatar Hans Johnson <hans.j.johnson@gmail.com>2019-11-17 14:59:32 -0600
commit9d5cdc98c3300662c112dd28a1c2a67c0389168d (patch)
treed697f831289db23500ab1155580add9c2a2b2b53 /cmake
parente5778b87b928b54a9f108f15ad0e56fdbbfec2f3 (diff)
COMP: target_compile_definitions requires cmake 2.8.11
Features committed in 2016 have required cmake verison 2.8.11. `sergiu Tue Nov 22 12:25:06 2016 +0100: target_compile_definitions` Set the minimum cmake version to the minimum version that is capable of compiling or installing the code base.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/language_support.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/language_support.cmake b/cmake/language_support.cmake
index 20f80efd3..fb462c747 100644
--- a/cmake/language_support.cmake
+++ b/cmake/language_support.cmake
@@ -23,7 +23,7 @@ function(workaround_9220 language language_works)
#message("DEBUG: language = ${language}")
set(text
"project(test NONE)
- cmake_minimum_required(VERSION 2.8.0)
+ cmake_minimum_required(VERSION 2.8.11)
set (CMAKE_Fortran_FLAGS \"${CMAKE_Fortran_FLAGS}\")
set (CMAKE_EXE_LINKER_FLAGS \"${CMAKE_EXE_LINKER_FLAGS}\")
enable_language(${language})