From 7cc0b18ed488fbb08bb5b1d9bde7911a76aa02d0 Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Tue, 14 Jan 2025 10:13:33 +0100 Subject: [PATCH] Compile basic infra test with C++17 --- 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.