2013-09-26 17:14:40 +02:00

16 lines
438 B
Plaintext

$NetBSD: patch-al,v 1.2 2012/01/23 08:58:00 adam Exp $
--- src/plugins/grass/CMakeLists.txt.orig 2011-06-05 11:59:48.000000000 +0000
+++ src/plugins/grass/CMakeLists.txt
@@ -137,6 +137,10 @@ INCLUDE_DIRECTORIES(
qtermwidget
)
+IF (UNIX)
+ SET_TARGET_PROPERTIES(grassplugin PROPERTIES LINK_FLAGS "-L${GRASS_PREFIX}/lib -Wl,-rpath,${GRASS_PREFIX}/lib")
+ENDIF (UNIX)
+
TARGET_LINK_LIBRARIES(grassplugin
qgisgrass
qgis_gui