mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-12-03 17:52:19 +00:00
Win32: Statically link libgcc and libstdc++
Else one needs to copy those files from mingw32.. and I see no reason not to statically link them.
This commit is contained in:
parent
5936422d9d
commit
c193e0b98e
1 changed files with 2 additions and 0 deletions
|
@ -196,6 +196,8 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|||
endif()
|
||||
|
||||
set(sys_libs ${sys_libs} "-framework Carbon -framework Cocoa -framework IOKit")
|
||||
elseif(WIN32)
|
||||
set(ldflags "${ldflags} -static-libgcc -static-libstdc++")
|
||||
else()
|
||||
if(os STREQUAL "linux")
|
||||
set(sys_libs ${sys_libs} dl)
|
||||
|
|
Loading…
Reference in a new issue