Skip to content
Snippets Groups Projects
Commit 100f5f41 authored by Yuri Kunde Schlesner's avatar Yuri Kunde Schlesner Committed by GitHub
Browse files

Merge pull request #2200 from j-selby/fix-mingw-crash

Disable Microprofile on Mingw builds
parents 5234f2d2 61687840
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,9 @@ if (NOT MSVC)
if (MINGW)
add_definitions(-DMINGW_HAS_SECURE_API)
# Microprofile causes crashes when launching titles on MinGW
add_definitions(-DMICROPROFILE_ENABLED=0)
if (MINGW_STATIC_BUILD)
add_definitions(-DQT_STATICPLUGIN)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment