Skip to content
Permalink
Browse files
Use rpath so no more nasty LD_LIBRARY_PATH should be needed when inst…
…alling to a non

standard dir


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7103 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 27, 2007
1 parent e2f867a commit 66c7c5325dbadd9cef9238655ad1e07823c671b5
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/app/CMakeLists.txt
@@ -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)

0 comments on commit 66c7c53

Please sign in to comment.