We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 204374a commit 9d2c6e8Copy full SHA for 9d2c6e8
cudax/test/CMakeLists.txt
@@ -177,7 +177,7 @@ foreach(cn_target IN LISTS cudax_TARGETS)
177
# we avoid linking with cccl.c2h.main
178
set(test_target ${config_prefix}.test.binutils_demangle)
179
add_executable(${test_target} binutils/demangle.pass.cpp)
180
- target_compile_options(${test_target} PRIVATE "/MT")
+ target_compile_options(${test_target} PRIVATE "$<$<CXX_COMPILER_ID:MSVC>:/MT>")
181
target_link_libraries(${test_target} PRIVATE
182
${cn_target}
183
CUDA::cudart_static
0 commit comments