Skip to content

Commit

Permalink
Build xeus with cpp17
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Feb 7, 2024
1 parent 9501e46 commit 089f180
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 089f180

Please sign in to comment.