mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-25 14:01:10 +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()
|
endif()
|
||||||
|
|
||||||
set(sys_libs ${sys_libs} "-framework Carbon -framework Cocoa -framework IOKit")
|
set(sys_libs ${sys_libs} "-framework Carbon -framework Cocoa -framework IOKit")
|
||||||
|
elseif(WIN32)
|
||||||
|
set(ldflags "${ldflags} -static-libgcc -static-libstdc++")
|
||||||
else()
|
else()
|
||||||
if(os STREQUAL "linux")
|
if(os STREQUAL "linux")
|
||||||
set(sys_libs ${sys_libs} dl)
|
set(sys_libs ${sys_libs} dl)
|
||||||
|
|
Loading…
Reference in a new issue