mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-06 19:38:59 -05:00
Only add stack size link commands on Windows
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4923 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
2903788e4c
commit
001758954d
@ -738,11 +738,14 @@ qt5_use_modules (jt9 Core)
|
||||
|
||||
if (${OPENMP_FOUND})
|
||||
add_executable (jt9_omp lib/jt9.f90 lib/jt9a.f90 lib/jt9b.f90 lib/jt9c.f90 ${jt9_CXXSRCS} wsjtx.rc)
|
||||
if (WIN32)
|
||||
set (_extra_omp_link_flags "-Wl,--stack,8388608")
|
||||
endif (WIN32)
|
||||
set_target_properties (jt9_omp
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS ${OpenMP_C_FLAGS}
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp
|
||||
LINK_FLAGS "${OpenMP_C_FLAGS} -Wl,--stack,8388608"
|
||||
LINK_FLAGS "${OpenMP_C_FLAGS} ${_extra_omp_link_flags}"
|
||||
)
|
||||
target_link_libraries (jt9_omp wsjt_omp ${FFTW3_LIBRARIES})
|
||||
qt5_use_modules (jt9_omp Core)
|
||||
|
Loading…
Reference in New Issue
Block a user