summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-29 07:20:32 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-29 07:20:35 -0700
commitc7cd76bae31e018e41031df378d447825b469026 (patch)
tree7fc35e56bbac09547a3001d1d813ea704aa0d951
parent7c92c7dc0ae658c088b8df83fcf97c3d3a8d8a16 (diff)
downloadsubsurface-c7cd76bae31e018e41031df378d447825b469026.tar.gz
Mac install: add missing esri plugin
Thanks to Lubomir for figuring what was missing! Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa1f12c87..76d11cc43 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -407,6 +407,10 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
if((${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable") AND (NOT NO_PRINTING))
install(DIRECTORY ${Grantlee5_DIR}/../../grantlee DESTINATION ${PLUGINDIR})
endif()
+ if(NO_MARBLE)
+ install(CODE "execute_process(COMMAND mkdir -p ${PLUGINDIR}/geoservices)")
+ install(CODE "execute_process(COMMAND cp ${_qt5Core_install_prefix}/plugins/geoservices/libqtgeoservices_esri.dylib ${PLUGINDIR}/geoservices)")
+ endif()
# this is a hack - but I don't know how else to find the macdeployqt program if it's not in the PATH
string(REPLACE moc macdeployqt MACDEPLOYQT ${QT_MOC_EXECUTABLE})
install(CODE "execute_process(COMMAND ${MACDEPLOYQT} ${APP_BUNDLE_DIR} ${MACDEPLOY_ARGS})")