mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Use rpath so no more nasty LD_LIBRARY_PATH should be needed when installing to a non
standard dir git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7103 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
e2f867a814
commit
66c7c5325d
@ -155,6 +155,7 @@ ENDIF (PYTHON_FOUND)
|
||||
QT4_WRAP_CPP(QGIS_APP_MOC_SRCS ${QGIS_APP_MOC_HDRS})
|
||||
|
||||
|
||||
|
||||
IF (WIN32 AND NOT MSVC)
|
||||
|
||||
# Icon for windows
|
||||
@ -223,6 +224,11 @@ TARGET_LINK_LIBRARIES(qgis
|
||||
qgis_gui
|
||||
)
|
||||
|
||||
SET_TARGET_PROPERTIES(qgis PROPERTIES
|
||||
INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
|
||||
INSTALL_RPATH_USE_LINK_PATH true
|
||||
)
|
||||
|
||||
IF (PYTHON_FOUND)
|
||||
TARGET_LINK_LIBRARIES(qgis ${PYTHON_LIBRARIES})
|
||||
ENDIF (PYTHON_FOUND)
|
||||
|
Loading…
x
Reference in New Issue
Block a user