From d28909e2bb4e7a86f558b8ad43cd25bead6fb8d1 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 1 Jul 2015 13:37:17 +0000 Subject: [PATCH] Increase stack space for Windows wsprd git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5647 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c69240d8e..767a1dd19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -853,6 +853,12 @@ add_executable (jt9code lib/jt9code.f90 wsjtx.rc) target_link_libraries (jt9code wsjt_fort wsjt_cxx) add_executable (wsprd lib/wsprd/wsprd.c lib/wsprd/wsprd_utils.c lib/wsprd/wsprsim_utils.c lib/wsprd/fano.c lib/wsprd/tab.c lib/wsprd/nhash.c) +if (WIN32) + set_target_properties (wsprd + PROPERTIES + LINK_FLAGS "-Wl,--stack,4000000" + ) +endif (WIN32) target_link_libraries (wsprd ${FFTW3_LIBRARIES}) add_executable (wsprsim lib/wsprd/wsprsim.c lib/wsprd/wsprsim_utils.c lib/wsprd/wsprd_utils.c lib/wsprd/fano.c lib/wsprd/tab.c lib/wsprd/nhash.c)