diff options
| -rw-r--r-- | CMakeLists.txt | 3 |
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) | |||
| 71 | 71 | ||
| 72 | if (MINGW) | 72 | if (MINGW) |
| 73 | add_definitions(-DMINGW_HAS_SECURE_API) | 73 | add_definitions(-DMINGW_HAS_SECURE_API) |
| 74 | # Microprofile causes crashes when launching titles on MinGW | ||
| 75 | add_definitions(-DMICROPROFILE_ENABLED=0) | ||
| 76 | |||
| 74 | if (MINGW_STATIC_BUILD) | 77 | if (MINGW_STATIC_BUILD) |
| 75 | add_definitions(-DQT_STATICPLUGIN) | 78 | add_definitions(-DQT_STATICPLUGIN) |
| 76 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static") | 79 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static") |