r359257 - lib/Header: Fix Visual Studio builds
Tom Stellard via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 25 18:19:00 PDT 2019
Author: tstellar
Date: Thu Apr 25 18:18:59 2019
New Revision: 359257
URL: http://llvm.org/viewvc/llvm-project?rev=359257&view=rev
Log:
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
Modified:
cfe/trunk/lib/Headers/CMakeLists.txt
Modified: cfe/trunk/lib/Headers/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/CMakeLists.txt?rev=359257&r1=359256&r2=359257&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/CMakeLists.txt (original)
+++ cfe/trunk/lib/Headers/CMakeLists.txt Thu Apr 25 18:18:59 2019
@@ -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)
More information about the cfe-commits
mailing list