aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/tests/tests.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/tests/tests.pro')
-rw-r--r--qtmips_machine/tests/tests.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/qtmips_machine/tests/tests.pro b/qtmips_machine/tests/tests.pro
index 751bf8a..63792b0 100644
--- a/qtmips_machine/tests/tests.pro
+++ b/qtmips_machine/tests/tests.pro
@@ -9,6 +9,13 @@ CONFIG += c++11
TEMPLATE = app
LIBS += -L$$OUT_PWD/../ -lqtmips_machine
+
+DOLAR=$
+
+unix: LIBS += \
+ -Wl,-rpath,\'$${DOLAR}$${DOLAR}ORIGIN/../lib\' \
+ --enable-new-dtags \
+
INCLUDEPATH += $$PWD/..
DEPENDPATH += $$PWD/..
QMAKE_CXXFLAGS += -std=c++0x