mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-08-04 07:01:46 +02:00
Fix built-in runtimes.
Avoid having to share mingw runtimes with the binary by embedding them in the binary via static linking.
This commit is contained in:
@@ -28,7 +28,7 @@ if(CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
add_compile_options(-g)
|
||||
endif()
|
||||
|
||||
# Include mingw runntime into the binary
|
||||
# Include MINGW runtime into the binary
|
||||
if(GCC OR MINGW)
|
||||
if(BUILTIN_RUNTIMES)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
|
||||
|
Reference in New Issue
Block a user