mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 21:58:38 -05:00
Fix CMake link flags for OpenMP on non-Mac platforms
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4950 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
f58656984c
commit
88bbb988ef
@ -755,18 +755,17 @@ if (${OPENMP_FOUND} OR APPLE)
|
||||
set_target_properties (jt9_omp
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS "-fopenmp"
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp
|
||||
LINK_LIBRARIES "gomp;gcc_s.1"
|
||||
)
|
||||
else (APPLE)
|
||||
set_target_properties (jt9_omp
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS "${OpenMP_C_FLAGS}"
|
||||
LINK_FLAGS "${OpenMP_C_FLAGS}"
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp
|
||||
)
|
||||
endif (APPLE)
|
||||
set_target_properties (jt9_omp
|
||||
PROPERTIES
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp
|
||||
)
|
||||
target_link_libraries (jt9_omp wsjt_fort_omp wsjt_cxx ${FFTW3_LIBRARIES})
|
||||
qt5_use_modules (jt9_omp Core)
|
||||
endif (${OPENMP_FOUND} OR APPLE)
|
||||
|
Loading…
Reference in New Issue
Block a user