mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
static link libstdc++ (mingw)
This commit is contained in:
parent
5e025b548f
commit
323acb2573
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ else()
|
|||
if (CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -Og)
|
||||
endif()
|
||||
if (WIN32)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libstdc++")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(VOXELENGINE_BUILD_WINDOWS_VCPKG AND WIN32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue