From c7cd76bae31e018e41031df378d447825b469026 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 29 Jul 2017 07:20:32 -0700 Subject: Mac install: add missing esri plugin Thanks to Lubomir for figuring what was missing! Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') 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})") -- cgit v1.2.3-70-g09d2