Skip to content

Commit a5bc5e6

Browse files
authored
fix spelling of clang's -Wno-unknown-cuda-version switch (NVIDIA#4504)
1 parent cc66eb6 commit a5bc5e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cudax/cmake/cudaxBuildCompilerTargets.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function(cudax_build_compiler_targets)
6060
# Clang-cuda only:
6161
target_compile_options(cudax.compiler_interface INTERFACE
6262
$<$<COMPILE_LANG_AND_ID:CUDA,Clang>:-Xclang=-fcuda-allow-variadic-functions>
63-
$<$<COMPILE_LANG_AND_ID:CUDA,Clang>:-Wno_unknown-cuda-version>
63+
$<$<COMPILE_LANG_AND_ID:CUDA,Clang>:-Wno-unknown-cuda-version>
6464
)
6565

6666
# Ensure that we test with assertions enabled

0 commit comments

Comments
 (0)