From 089f18026ff4ae5939c8de95f258061ae2926a80 Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Wed, 7 Feb 2024 14:32:53 +0100 Subject: [PATCH] Build xeus with cpp17 --- CMakeLists.txt | 2 +- test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)