mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
Only install jt9_omp if it has been built
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4925 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
b16d510b0d
commit
19c4d67b29
@ -711,7 +711,7 @@ if (${OPENMP_FOUND})
|
||||
file (MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp)
|
||||
set_target_properties (wsjt_omp
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS ${OpenMP_C_FLAGS}
|
||||
COMPILE_FLAGS "${OpenMP_C_FLAGS}"
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp
|
||||
)
|
||||
endif (${OPENMP_FOUND})
|
||||
@ -743,7 +743,7 @@ if (${OPENMP_FOUND})
|
||||
endif (WIN32)
|
||||
set_target_properties (jt9_omp
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS ${OpenMP_C_FLAGS}
|
||||
COMPILE_FLAGS "${OpenMP_C_FLAGS}"
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp
|
||||
LINK_FLAGS "${OpenMP_C_FLAGS} ${_extra_omp_link_flags}"
|
||||
)
|
||||
@ -820,11 +820,18 @@ install (TARGETS wsjtx
|
||||
BUNDLE DESTINATION . COMPONENT runtime
|
||||
)
|
||||
|
||||
install (TARGETS jt9 jt65code jt9code jt9_omp
|
||||
install (TARGETS jt9 jt65code jt9code
|
||||
RUNTIME DESTINATION ${WSJT_BIN_DESTINATION} COMPONENT runtime
|
||||
BUNDLE DESTINATION ${WSJT_BIN_DESTINATION} COMPONENT runtime
|
||||
)
|
||||
|
||||
if (${OPENMP_FOUND})
|
||||
install (TARGETS jt9_omp
|
||||
RUNTIME DESTINATION ${WSJT_BIN_DESTINATION} COMPONENT runtime
|
||||
BUNDLE DESTINATION ${WSJT_BIN_DESTINATION} COMPONENT runtime
|
||||
)
|
||||
endif (${OPENMP_FOUND})
|
||||
|
||||
if (WSJT_INCLUDE_KVASD)
|
||||
install (PROGRAMS
|
||||
${CMAKE_BINARY_DIR}/${KVASD_BINARY}
|
||||
|
Loading…
Reference in New Issue
Block a user