From d2da787a8f9fc7b55f4ce48f4f287c28394dd146 Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Tue, 14 Jan 2025 12:16:10 +0100 Subject: [PATCH] Compile basic infra test with C++17 (#3377) --- examples/basic/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/basic/CMakeLists.txt b/examples/basic/CMakeLists.txt index f664422335e..cc50b7d1dde 100644 --- a/examples/basic/CMakeLists.txt +++ b/examples/basic/CMakeLists.txt @@ -41,6 +41,7 @@ endif() # Creates a cmake executable target for the main program add_executable(example_project example.cu) +target_compile_features(example_project PUBLIC cuda_std_17) # "Links" the CCCL Cmake target to the `example_project` executable. This configures everything needed to use # CCCL headers, including setting up include paths, compiler flags, etc.