From ca7d19e595fdf2ebbbf068f1388daaacfe4691c8 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Sat, 17 Dec 2016 21:28:24 +0000 Subject: [PATCH] [CMake] Fix issue reported on sanitizer bots This should resolve an issue reported on the commit thread that impacted sanitizer bots. llvm-svn: 290052 --- libcxx/include/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt index deed1a1..b1d6acb 100644 --- a/libcxx/include/CMakeLists.txt +++ b/libcxx/include/CMakeLists.txt @@ -10,7 +10,7 @@ set(LIBCXX_HEADER_PATTERN ${LIBCXX_SUPPORT_HEADER_PATTERN} ) -if(NOT LIBCXX_USING_INSTALLED_LLVM) +if(NOT LIBCXX_USING_INSTALLED_LLVM AND LLVM_BINARY_DIR) file(COPY . DESTINATION "${LLVM_BINARY_DIR}/include/c++/v1" FILES_MATCHING -- 2.7.4