[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
This commit is contained in:
Chris Bieneman 2016-12-17 21:28:24 +00:00
parent 801aa91790
commit a4b3552a4d

View File

@ -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