cpack gomp

This commit is contained in:
Joachim Schöberl 2015-12-11 20:48:34 +01:00
parent f0ab057803
commit ca0fcb1e5e

View File

@ -268,7 +268,7 @@ endif(INSTALL_PROFILES)
if(INSTALL_DEPENDENCIES) if(INSTALL_DEPENDENCIES)
include (InstallRequiredSystemLibraries) include (InstallRequiredSystemLibraries)
message("***********************************************") message("***********************************************")
find_library(LIBGOMP NAMES gomp gomp.1) find_library(LIBGOMP NAMES gomp.1)
find_library(LIBSTDCXX NAMES stdc++.6) find_library(LIBSTDCXX NAMES stdc++.6)
message("gomp: ${LIBGOMP}") message("gomp: ${LIBGOMP}")
message("stdc++: ${LIBSTDCXX}") message("stdc++: ${LIBSTDCXX}")
@ -365,6 +365,10 @@ if(APPLE)
file(APPEND ${mac_plist} "</dict>\n") file(APPEND ${mac_plist} "</dict>\n")
file(APPEND ${mac_plist} "</plist>\n") file(APPEND ${mac_plist} "</plist>\n")
set(CPACK_BUNDLE_PLIST ${mac_plist}) set(CPACK_BUNDLE_PLIST ${mac_plist})
# set(CPACK_DMG_FORMAT "UDRW")
# set(CPACK_DMG_DS_STORE .DS_Store_dmg)
# set(CPACK_DMG_BACKGROUND_IMAGE sculpture312.png)
endif(APPLE) endif(APPLE)
include(CPack) include(CPack)