From 9d5cdc98c3300662c112dd28a1c2a67c0389168d Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Sun, 17 Nov 2019 14:59:32 -0600 Subject: 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. --- cmake/language_support.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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}) -- cgit v1.2.3