We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 587ae93 commit 35efdfbCopy full SHA for 35efdfb
1 file changed
c/parallel.v2/CMakeLists.txt
@@ -86,7 +86,7 @@ target_link_libraries(
86
if (WIN32)
87
target_link_libraries(cccl.c.parallel.v2 PRIVATE Dbghelp)
88
# We are shadowing a lot of variables with the globals like num_items
89
- target_compile_options(cccl.c.parallel.v2 PRIVATE "-Xcompiler=/wd4459")
+ target_compile_options(cccl.c.parallel.v2 PRIVATE $<$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>:-Xcompiler=/wd4459>)
90
endif()
91
92
target_compile_definitions(
0 commit comments