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@7103 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 27, 2007
1 parent 69398ed commit 5cda60703eb1e43f0a19d29550ffabecf3cb98e7
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 5cda607

Please sign in to comment.