Skip to content

Commit 0664515

Browse files
authored
CMake: fix broken command-line options for CUDA sources (#229)
1 parent 35be4dc commit 0664515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ target_compile_features(cpp-sort INTERFACE cxx_std_14)
4343
if (MSVC)
4444
target_compile_options(cpp-sort INTERFACE
4545
$<$<COMPILE_LANGUAGE:CXX>:/permissive->
46-
$<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler "/permissive-">
46+
$<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler="/permissive-">
4747
)
4848
endif()
4949

0 commit comments

Comments
 (0)