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.
This commit is contained in:
Hans Johnson 2019-11-17 14:59:32 -06:00
parent e5778b87b9
commit 9d5cdc98c3
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
project(Eigen3)
cmake_minimum_required(VERSION 2.8.5)
cmake_minimum_required(VERSION 2.8.11)
# guard against in-source builds

View File

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