From 9f45a0e1a0c91da572b146c4770e8a3225748cf3 Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Wed, 12 Jun 2024 12:38:34 +0530 Subject: [PATCH] Use c++17 for the test cmake --- test/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2a639d26..3623937b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -57,6 +57,8 @@ set(XEUS_PYTHON_TESTS add_executable(test_xeus_python ${XEUS_PYTHON_TESTS}) +target_compile_features(test_xeus_python PRIVATE cxx_std_17) + if (APPLE) set_target_properties(test_xeus_python PROPERTIES MACOSX_RPATH ON