From d1a03b1350001b03b1912e56b3f477aab6e4cd37 Mon Sep 17 00:00:00 2001 From: Neil Kichler Date: Wed, 26 Jun 2024 01:37:37 +0200 Subject: [PATCH] merge target features cxx_std and cuda_std into one line. --- src/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ced24de..5c5268a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,8 +16,7 @@ target_include_directories( ) # C++20 is required for all users of the library -target_compile_features(cuinterval PUBLIC cxx_std_20) -target_compile_features(cuinterval PUBLIC cuda_std_20) +target_compile_features(cuinterval PUBLIC cxx_std_20 cuda_std_20) target_compile_options(cuinterval PUBLIC "$<$:--expt-relaxed-constexpr>")