Skip to content

Commit

Permalink
merge target features cxx_std and cuda_std into one line.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkichler committed Jun 25, 2024
1 parent 605bb29 commit d1a03b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$<$<COMPILE_LANGUAGE:CUDA>:--expt-relaxed-constexpr>")

Expand Down

0 comments on commit d1a03b1

Please sign in to comment.