diff --git a/rascaline-c-api/tests/catch/CMakeLists.txt b/rascaline-c-api/tests/catch/CMakeLists.txt index 4c6184820..c783b584e 100644 --- a/rascaline-c-api/tests/catch/CMakeLists.txt +++ b/rascaline-c-api/tests/catch/CMakeLists.txt @@ -1,3 +1,3 @@ add_library(catch STATIC catch.cpp) target_include_directories(catch PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) -target_compile_features(catch PUBLIC cxx_std_11) +target_compile_features(catch PUBLIC cxx_std_17) diff --git a/rascaline-torch/CMakeLists.txt b/rascaline-torch/CMakeLists.txt index 156c727f2..f1f343809 100644 --- a/rascaline-torch/CMakeLists.txt +++ b/rascaline-torch/CMakeLists.txt @@ -106,7 +106,7 @@ add_library(rascaline_torch SHARED ) target_link_libraries(rascaline_torch PUBLIC torch metatensor_torch rascaline) -target_compile_features(rascaline_torch PUBLIC cxx_std_14) +target_compile_features(rascaline_torch PUBLIC cxx_std_17) target_include_directories(rascaline_torch PUBLIC $ $