From ad8fb434a1d67c51e03cc64e4d9adda4370d8475 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 1 Jul 2017 17:43:47 +0000 Subject: [PATCH] Temporarily increase Windows stack size for jt9.exe git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7766 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 17dc51e7b..193907948 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1222,6 +1222,11 @@ if (${OPENMP_FOUND} OR APPLE) Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp ) endif (APPLE) + if (WIN32) + set_target_properties (jt9 PROPERTIES + LINK_FLAGS -Wl,--stack,16777216 + ) + endif () target_link_libraries (jt9 wsjt_fort_omp wsjt_cxx Qt5::Core) else (${OPENMP_FOUND} OR APPLE) target_link_libraries (jt9 wsjt_fort wsjt_cxx Qt5::Core)