From eff015538b70adcb9f3976ac8d2181513e28c1c1 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Tue, 12 Dec 2017 01:20:52 +0000 Subject: [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 --- test/tsan/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/tsan') 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) -- cgit v1.2.3