From 02d5743a4b5c68ad2a3df37ede771e2ad80d134e Mon Sep 17 00:00:00 2001 From: Joerg-Christian Boehme Date: Mon, 8 Apr 2019 13:11:30 +0200 Subject: [PATCH] Fix check of cmake version (#2672) Verify cmake version in Foundation library build. --- Foundation/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt index 45052ec51..71d706690 100644 --- a/Foundation/CMakeLists.txt +++ b/Foundation/CMakeLists.txt @@ -114,7 +114,7 @@ target_compile_features(Foundation PUBLIC $<$>:cxx_defaulted_move_initializers> ) -if(NOT DISABLE_CPP14 AND CMAKE_VERSION VERSION_GREATER 3.7) +if(NOT DISABLE_CPP14 AND CMAKE_VERSION VERSION_GREATER "3.8") target_compile_features(Foundation PUBLIC cxx_std_14) endif()