Skip to content
Permalink
Browse files

fix Mac install location for qgis_quick - cmake install must be after…

… properties
  • Loading branch information
kyngchaos authored and nyalldawson committed Mar 9, 2020
1 parent e0d803c commit 97a68154c03a68c87c35668c3c8c7d82117297a9
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/quickgui/CMakeLists.txt
@@ -120,13 +120,6 @@ GENERATE_EXPORT_HEADER(
)

# Installation
INSTALL(TARGETS qgis_quick
RUNTIME DESTINATION ${QGIS_BIN_DIR}
LIBRARY DESTINATION ${QGIS_LIB_DIR}
ARCHIVE DESTINATION ${QGIS_LIB_DIR}
FRAMEWORK DESTINATION ${QGIS_FW_SUBDIR}
PUBLIC_HEADER DESTINATION ${QGIS_INCLUDE_DIR})

IF(NOT APPLE)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/qgis_quick.h ${QGIS_QUICK_GUI_HDRS} ${QGIS_QUICK_GUI_MOC_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})
ELSE(NOT APPLE)
@@ -151,6 +144,13 @@ ELSE(NOT APPLE)
)
ENDIF(NOT APPLE)

INSTALL(TARGETS qgis_quick
RUNTIME DESTINATION ${QGIS_BIN_DIR}
LIBRARY DESTINATION ${QGIS_LIB_DIR}
ARCHIVE DESTINATION ${QGIS_LIB_DIR}
FRAMEWORK DESTINATION ${QGIS_FW_SUBDIR}
PUBLIC_HEADER DESTINATION ${QGIS_INCLUDE_DIR})

############################################################
# qgis_quick_plugin module (QML) library
ADD_SUBDIRECTORY(plugin)

0 comments on commit 97a6815

Please sign in to comment.
You can’t perform that action at this time.