From e22d14bd9d61eb0f75f4c1bd20e03a713d3fdac1 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Mon, 25 Aug 2025 21:28:53 -0500 Subject: [PATCH] Disable runtime dll copies for clang-cl --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bcb627f1a..e3bb3c070 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -689,7 +689,7 @@ if((CMAKE_COMPILER_IS_GNUCC) AND NOT ("${CMAKE_SYSTEM_NAME}" MATCHES Darwin)) endif() # copy DLLs to bin/ directory if building internal shared on windows -if("${CMAKE_SYSTEM_NAME}" STREQUAL Windows AND NOT "${SRB2_CONFIG_INTERNAL_LIBRARIES}") +if("${CMAKE_SYSTEM_NAME}" STREQUAL Windows AND NOT "${SRB2_CONFIG_INTERNAL_LIBRARIES}" AND NOT MSVC) # also copy implicitly linked system libraries set(ADDITIONAL_DLLS "") if("${CMAKE_CXX_COMPILER_ID}" STREQUAL GNU)