Skip to content

Commit 9d2c6e8

Browse files
committed
one more fix
1 parent 204374a commit 9d2c6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cudax/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ foreach(cn_target IN LISTS cudax_TARGETS)
177177
# we avoid linking with cccl.c2h.main
178178
set(test_target ${config_prefix}.test.binutils_demangle)
179179
add_executable(${test_target} binutils/demangle.pass.cpp)
180-
target_compile_options(${test_target} PRIVATE "/MT")
180+
target_compile_options(${test_target} PRIVATE "$<$<CXX_COMPILER_ID:MSVC>:/MT>")
181181
target_link_libraries(${test_target} PRIVATE
182182
${cn_target}
183183
CUDA::cudart_static

0 commit comments

Comments
 (0)