summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2016-02-01 21:08:16 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2016-02-01 21:08:16 +0000
commit1bc755973dd3a413cefc7b3251a4c5b21be4ee34 (patch)
tree76dd2167e97916026ec323b11a4df0af556e9e04 /unittests
parent2ba55f8c1f78cba685bb0fe23b85bf7228ce2903 (diff)
[CMake] Use LLVM_MAIN_SRC_DIR instead of LLVM_SOURCE_DIR.
The former will be properly initialized in standalone CMake build of compiler-rt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@259407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/lit.common.unit.configured.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/lit.common.unit.configured.in b/unittests/lit.common.unit.configured.in
index 85bb91da3..67b7d5762 100644
--- a/unittests/lit.common.unit.configured.in
+++ b/unittests/lit.common.unit.configured.in
@@ -3,7 +3,7 @@
# Generic config options for all compiler-rt unit tests.
config.target_triple = "@TARGET_TRIPLE@"
-config.llvm_src_root = "@LLVM_SOURCE_DIR@"
+config.llvm_src_root = "@LLVM_MAIN_SRC_DIR@"
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
config.llvm_tools_dir = "@LLVM_TOOLS_BINARY_DIR@"
config.compiler_rt_src_root = "@COMPILER_RT_SOURCE_DIR@"