diff --git a/CMakeLists.txt b/CMakeLists.txt index 3afefe78..1bc908a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,7 +218,7 @@ macro(xeus_create_target target_name linkage output_name) # Compilation flags # ================= - target_compile_features(${target_name} PRIVATE cxx_std_14) + target_compile_features(${target_name} PRIVATE cxx_std_17) xeus_target_add_compile_warnings(${target_name}) if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 20206260..7887c9b6 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -9,7 +9,7 @@ # Unit tests # ========== -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.8) if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) project(xeus-test)