summaryrefslogtreecommitdiff
path: root/test/tsan
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-12-12 01:20:52 +0000
committerPetr Hosek <phosek@chromium.org>2017-12-12 01:20:52 +0000
commiteff015538b70adcb9f3976ac8d2181513e28c1c1 (patch)
tree8ba95e68041087146a1ae57a941f47da8af4e706 /test/tsan
parent9b3f7c3d180b156605b9def01ce16465baee9c1c (diff)
[CMake] Support runtimes and monorepo layouts when looking for libcxx
This also slightly refactors the code that's checking the directory presence which allows eliminating one unnecessary variable. Differential Revision: https://reviews.llvm.org/D40637 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@320446 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan')
-rw-r--r--test/tsan/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/CMakeLists.txt b/test/tsan/CMakeLists.txt
index af329562d..2b1d3004b 100644
--- a/test/tsan/CMakeLists.txt
+++ b/test/tsan/CMakeLists.txt
@@ -7,7 +7,7 @@ endif()
if(NOT COMPILER_RT_STANDALONE_BUILD)
list(APPEND TSAN_TEST_DEPS tsan)
endif()
-if(COMPILER_RT_HAS_LIBCXX_SOURCES AND
+if(COMPILER_RT_LIBCXX_PATH AND
COMPILER_RT_TEST_COMPILER_ID STREQUAL "Clang"
AND NOT APPLE AND NOT ANDROID)
list(APPEND TSAN_TEST_DEPS libcxx_tsan)