Skip to content

Commit ab1e015

Browse files
committed
once more with feeling
1 parent 0e3c1cd commit ab1e015

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

test/nvexec/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,9 @@ icm_add_build_failure_test(
7070
LIBRARIES stdexec nvexec
7171
FOLDER test
7272
)
73-
set_target_properties(when_all_fail PROPERTIES LANGUAGE CUDA)
74-
set_target_properties(when_all_fail PROPERTIES LINKER_LANGUAGE CUDA)
73+
set_target_properties(when_all_fail
74+
PROPERTIES
75+
LANGUAGE CUDA
76+
LINKER_LANGUAGE CUDA)
77+
target_compile_options(when_all_fail PRIVATE
78+
$<$<CXX_COMPILER_ID:Clang>:-x cuda>)

0 commit comments

Comments
 (0)