mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 20:21: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
4fc06760aa
commit
a1f72df989
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