From e1f81ac9e9d35223687980ef01c84ee9af7ab666 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 26 Apr 2019 01:18:59 +0000 Subject: [PATCH] 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359257 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Headers/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Headers/CMakeLists.txt b/lib/Headers/CMakeLists.txt index 04c5edb0e8..7811d2cc31 100644 --- a/lib/Headers/CMakeLists.txt +++ b/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) -- 2.50.1