diff options
author | txtsd <code@ihavea.quest> | 2022-11-03 10:52:36 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 10:52:36 +0530 |
commit | 3e3ef038551b100b12678e21ac92ec8399bf9a62 (patch) | |
tree | 3422738e4dd2fc6abe6b955e957bb0df7af89ad3 /CMakeLists.txt | |
parent | 2958ffa73fb50033d9ec863c8c25ba629890a4f0 (diff) | |
parent | 8d39a9ea6185eacb79dc30a36a9d8e8fcc631528 (diff) | |
download | PrismLauncher-3e3ef038551b100b12678e21ac92ec8399bf9a62.tar.gz PrismLauncher-3e3ef038551b100b12678e21ac92ec8399bf9a62.tar.bz2 PrismLauncher-3e3ef038551b100b12678e21ac92ec8399bf9a62.zip |
Merge pull request #379 from TheLastRar/win-stacksize
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 94af61f3..ed83c205 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,11 @@ set(CMAKE_C_STANDARD 11) include(GenerateExportHeader) set(CMAKE_CXX_FLAGS "-Wall -pedantic -fstack-protector-strong --param=ssp-buffer-size=4 ${CMAKE_CXX_FLAGS}") +# ATL's packlist needs more than the default 1 Mib stack on windows +if(WIN32) + set(CMAKE_EXE_LINKER_FLAGS "-Wl,--stack,8388608 ${CMAKE_EXE_LINKER_FLAGS}") +endif() + # Fix build with Qt 5.13 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y") |