From a4b3552a4d86e56ba03d1cc2b87dd30ce7dd0e8f 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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290052 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index deed1a110..b1d6acb2b 100644 --- a/include/CMakeLists.txt +++ b/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