summaryrefslogtreecommitdiffstats
path: root/app/app.pri
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-16 19:42:44 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-12-16 19:42:44 +0000
commit88611724502425d3656ef0dcbfdcbdb519c0b41f (patch)
treecd132ede235a4ad230fc91da17647ffdf14c3ec0 /app/app.pri
parent2f43c64c0b55dbfc7ffa1d87e952d840c7f940e1 (diff)
parentb369fb7e8d0733af1a67dab27fd565fc6f9f97d3 (diff)
Merge "Check if dependencies are available and make it run without them" into eel
Diffstat (limited to 'app/app.pri')
-rw-r--r--app/app.pri15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/app.pri b/app/app.pri
index e535cbc..590c154 100644
--- a/app/app.pri
+++ b/app/app.pri
@@ -2,4 +2,19 @@ TEMPLATE = app
load(configure)
+qtCompileTest(libhomescreen)
+qtCompileTest(qlibwindowmanager)
+
+config_libhomescreen {
+ CONFIG += link_pkgconfig
+ PKGCONFIG += libhomescreen
+ DEFINES += HAVE_LIBHOMESCREEN
+}
+
+config_qlibwindowmanager {
+ CONFIG += link_pkgconfig
+ PKGCONFIG += qlibwindowmanager
+ DEFINES += HAVE_QLIBWINDOWMANAGER
+}
+
DESTDIR = $${OUT_PWD}/../package/root/bin