summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames <jselby@jselby.net>2016-11-21 08:21:36 +0100
committerJames <jselby@jselby.net>2016-12-05 03:10:14 +0100
commit61687840bcc40b641f9130adcae5a36d4f570391 (patch)
treebfb955184102a6be7538baa689b9a6e670e50c17
parentMerge pull request #2266 from yuriks/fix-displaytransfer (diff)
downloadyuzu-61687840bcc40b641f9130adcae5a36d4f570391.tar
yuzu-61687840bcc40b641f9130adcae5a36d4f570391.tar.gz
yuzu-61687840bcc40b641f9130adcae5a36d4f570391.tar.bz2
yuzu-61687840bcc40b641f9130adcae5a36d4f570391.tar.lz
yuzu-61687840bcc40b641f9130adcae5a36d4f570391.tar.xz
yuzu-61687840bcc40b641f9130adcae5a36d4f570391.tar.zst
yuzu-61687840bcc40b641f9130adcae5a36d4f570391.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")