summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2019-04-26 01:18:59 +0000
committerTom Stellard <tstellar@redhat.com>2019-04-26 01:18:59 +0000
commit00d9789509a4c573a48f60893b95314a119edd42 (patch)
tree731d001482d9c8be7a61651c089b80048f6b8652 /clang/lib/Headers
parenteea2287f83b3ec8330b12b03a42adcc88938d3fe (diff)
downloadbcm5719-llvm-00d9789509a4c573a48f60893b95314a119edd42.tar.gz
bcm5719-llvm-00d9789509a4c573a48f60893b95314a119edd42.zip
lib/Header: Fix Visual Studio builds
Summary: This is a follow up to r355253, which inadvertently broke Visual Studio builds by trying to copy files from CMAKE_CFG_INTDIR. See https://reviews.llvm.org/D58537#inline-532492 Reviewers: smeenai, vzakhari, phosek Reviewed By: smeenai Subscribers: mgorny, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61054 llvm-svn: 359257
Diffstat (limited to 'clang/lib/Headers')
-rw-r--r--clang/lib/Headers/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Headers/CMakeLists.txt b/clang/lib/Headers/CMakeLists.txt
index 04c5edb0e8c..7811d2cc31b 100644
--- a/clang/lib/Headers/CMakeLists.txt
+++ b/clang/lib/Headers/CMakeLists.txt
@@ -126,7 +126,7 @@ set(ppc_wrapper_files
ppc_wrappers/mmintrin.h
)
-set(output_dir ${LLVM_LIBRARY_OUTPUT_INTDIR}/clang/${CLANG_VERSION}/include)
+set(output_dir ${CMAKE_CURRENT_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include)
set(out_files)
function(copy_header_to_output_dir src_dir file)
OpenPOWER on IntegriCloud