mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-20 19:01:52 +00:00
parent
2feaf5600a
commit
cf7e5a9343
@ -204,7 +204,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
function(glslang_set_link_args TARGET)
|
||||
# For MinGW compiles, statically link against the GCC and C++ runtimes.
|
||||
# This avoids the need to ship those runtimes as DLLs.
|
||||
if(WIN32 AND ${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
|
||||
# This is supported by GCC and Clang.
|
||||
if(WIN32 AND NOT MSVC)
|
||||
set_target_properties(${TARGET} PROPERTIES
|
||||
LINK_FLAGS "-static -static-libgcc -static-libstdc++")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user