summaryrefslogtreecommitdiff
path: root/libopie2/examples/examples.pro
Side-by-side diff
Diffstat (limited to 'libopie2/examples/examples.pro') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/examples.pro10
1 files changed, 9 insertions, 1 deletions
diff --git a/libopie2/examples/examples.pro b/libopie2/examples/examples.pro
index c1ed98e..b2d47b0 100644
--- a/libopie2/examples/examples.pro
+++ b/libopie2/examples/examples.pro
@@ -1,4 +1,12 @@
TEMPLATE = subdirs
unix:SUBDIRS = opieui opienet opiecore opiemm opiedb
-#include ( ../../../include.pro )
+
+!contains( platform, x11 ) {
+ include ( $(OPIEDIR)/include.pro )
+}
+
+contains( platform, x11 ) {
+ LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
+}
+