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)