We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 69398ed commit 5cda607Copy full SHA for 5cda607
src/app/CMakeLists.txt
@@ -155,6 +155,7 @@ ENDIF (PYTHON_FOUND)
155
QT4_WRAP_CPP(QGIS_APP_MOC_SRCS ${QGIS_APP_MOC_HDRS})
156
157
158
+
159
IF (WIN32 AND NOT MSVC)
160
161
# Icon for windows
@@ -223,6 +224,11 @@ TARGET_LINK_LIBRARIES(qgis
223
224
qgis_gui
225
)
226
227
+SET_TARGET_PROPERTIES(qgis PROPERTIES
228
+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
229
+ INSTALL_RPATH_USE_LINK_PATH true
230
+)
231
232
IF (PYTHON_FOUND)
233
TARGET_LINK_LIBRARIES(qgis ${PYTHON_LIBRARIES})
234
ENDIF (PYTHON_FOUND)
0 commit comments