summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-05 05:33:19 +0100
committerGitHub <noreply@github.com>2016-12-05 05:33:19 +0100
commit100f5f41315aeb518250ca0603c64d797ddbc64e (patch)
tree15078aafffe4aed23006b61e713c1483d256989a
parentMerge pull request #2269 from Subv/update_dynarmic (diff)
parentDisable Microprofile on Mingw builds (diff)
downloadyuzu-100f5f41315aeb518250ca0603c64d797ddbc64e.tar
yuzu-100f5f41315aeb518250ca0603c64d797ddbc64e.tar.gz
yuzu-100f5f41315aeb518250ca0603c64d797ddbc64e.tar.bz2
yuzu-100f5f41315aeb518250ca0603c64d797ddbc64e.tar.lz
yuzu-100f5f41315aeb518250ca0603c64d797ddbc64e.tar.xz
yuzu-100f5f41315aeb518250ca0603c64d797ddbc64e.tar.zst
yuzu-100f5f41315aeb518250ca0603c64d797ddbc64e.zip
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 33d18f5ea..25631b32e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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")