aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tests.pro
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-01-08 12:10:58 +0200
committerOrgad Shaneh <orgads@gmail.com>2016-02-22 15:57:41 +0000
commitd7a43eaa18f5048aa73a5fa55e98a6c0f99d351a (patch)
tree16f5d0f7873932706dfe02c9c8f4a5b7456416f4 /tests/tests.pro
parent0c575700cb3c959c3b8ad19a402a0300bd2c24bd (diff)
Tests: Build clang unit tests when clang is enabled
Change-Id: Ia3a07f73bd39304bb4bf1b67cb662499792fa2ca Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Diffstat (limited to 'tests/tests.pro')
-rw-r--r--tests/tests.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tests.pro b/tests/tests.pro
index 78b78c8452..a7c5bc6bd2 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,2 +1,4 @@
TEMPLATE=subdirs
SUBDIRS += auto manual tools
+isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
+exists($$LLVM_INSTALL_DIR):SUBDIRS += unit