mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 12:57:52 +00:00
Merge pull request #2200 from j-selby/fix-mingw-crash
Disable Microprofile on Mingw builds
This commit is contained in:
commit
100f5f4131
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,9 @@ if (NOT MSVC)
|
||||||
|
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
add_definitions(-DMINGW_HAS_SECURE_API)
|
add_definitions(-DMINGW_HAS_SECURE_API)
|
||||||
|
# Microprofile causes crashes when launching titles on MinGW
|
||||||
|
add_definitions(-DMICROPROFILE_ENABLED=0)
|
||||||
|
|
||||||
if (MINGW_STATIC_BUILD)
|
if (MINGW_STATIC_BUILD)
|
||||||
add_definitions(-DQT_STATICPLUGIN)
|
add_definitions(-DQT_STATICPLUGIN)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static")
|
||||||
|
|
Loading…
Reference in a new issue