Clang: Tests: Use google test dir from qmake variable

...so that we can compile the tests without environment variables:

    qmake LLVM_INSTALL_DIR=/the/path1 GOOGLETEST_DIR=/the/path2

Change-Id: I40633988d325720397dea28bd13b957a31712a9d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2015-11-27 14:59:56 +01:00
parent b9adbffe6f
commit 6a1fc699fd

View File

@@ -1,4 +1,4 @@
GOOGLETEST_DIR = $$(GOOGLETEST_DIR)
isEmpty(GOOGLETEST_DIR):GOOGLETEST_DIR=$$(GOOGLETEST_DIR)
isEmpty(GOOGLETEST_DIR):linux-* {
GTEST_SRC_DIR = /usr/include/gmock