Disable runtime dll copies for clang-cl

This commit is contained in:
Eidolon 2025-08-25 21:28:53 -05:00
parent b9a8e355d3
commit e22d14bd9d

View file

@ -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)