diff --git a/cpp/test/CMakeLists.txt b/cpp/test/CMakeLists.txt index 4280be91ff..c7bf166439 100644 --- a/cpp/test/CMakeLists.txt +++ b/cpp/test/CMakeLists.txt @@ -51,6 +51,10 @@ function(ConfigureTest) PROPERTIES # set target compile options INSTALL_RPATH "\$ORIGIN/../../../lib" + CXX_STANDARD 17 + CXX_STANDARD_REQUIRED ON + CUDA_STANDARD 17 + CUDA_STANDARD_REQUIRED ON ) target_compile_options(${TEST_NAME}