Skip to content

Commit 222bf12

Browse files
author
kyngchaos
committed
fix library install names for OSX (#768)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11564 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a04331e commit 222bf12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/analysis/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ TARGET_LINK_LIBRARIES(qgis_analysis
8484
${PLATFORM_LIBRARIES}
8585
)
8686

87+
IF (APPLE)
88+
SET_TARGET_PROPERTIES(qgis_core PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE )
89+
ENDIF (APPLE)
90+
8791
INSTALL(TARGETS qgis_analysis
8892
RUNTIME DESTINATION ${QGIS_BIN_DIR}
8993
LIBRARY DESTINATION ${QGIS_LIB_DIR}

0 commit comments

Comments
 (0)