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()