Skip to content
Permalink
Browse files

fix library install names (#768)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11550 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
kyngchaos
kyngchaos committed Sep 5, 2009
1 parent d8a497f commit 29ec48177426996b9dd1c37865c7d75dda93e0f4
Showing with 16 additions and 0 deletions.
  1. +4 −0 src/core/CMakeLists.txt
  2. +4 −0 src/gui/CMakeLists.txt
  3. +4 −0 src/providers/grass/CMakeLists.txt
  4. +4 −0 src/python/CMakeLists.txt
@@ -286,6 +286,10 @@ ELSE (WITH_INTERNAL_SPATIALITE)
TARGET_LINK_LIBRARIES(qgis_core ${SQLITE3_LIBRARY})
ENDIF (WITH_INTERNAL_SPATIALITE)

IF (APPLE)
SET_TARGET_PROPERTIES(qgis_core PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
ENDIF (APPLE)

INSTALL(TARGETS qgis_core
RUNTIME DESTINATION ${QGIS_BIN_DIR}
LIBRARY DESTINATION ${QGIS_LIB_DIR}
@@ -90,6 +90,10 @@ IF (NOT WITH_INTERNAL_SPATIALITE)
TARGET_LINK_LIBRARIES(qgis_gui ${SQLITE3_LIBRARIES})
ENDIF (NOT WITH_INTERNAL_SPATIALITE)

IF (APPLE)
SET_TARGET_PROPERTIES(qgis_gui PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
ENDIF (APPLE)

INSTALL(TARGETS qgis_gui
RUNTIME DESTINATION ${QGIS_BIN_DIR}
LIBRARY DESTINATION ${QGIS_LIB_DIR}
@@ -36,6 +36,10 @@ TARGET_LINK_LIBRARIES (qgisgrass
qgis_core
)

IF (APPLE)
SET_TARGET_PROPERTIES(qgisgrass PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
ENDIF (APPLE)

ADD_LIBRARY (grassprovider MODULE ${GRASS_PROVIDER_SRCS})

IF (WIN32)
@@ -33,6 +33,10 @@ TARGET_LINK_LIBRARIES(qgispython
qgis_core
)

IF (APPLE)
SET_TARGET_PROPERTIES(qgispython PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
ENDIF (APPLE)

INSTALL(TARGETS qgispython
RUNTIME DESTINATION ${QGIS_BIN_DIR}
LIBRARY DESTINATION ${QGIS_LIB_DIR})

0 comments on commit 29ec481

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