From 8d897ec91528e943bf2be7356845d3428ae369ae Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 10 Dec 2021 17:17:01 -0800 Subject: [PATCH] [llvm] Partial revert, hopefully fix LLVM module maps build In 492de35df443d5f31480173d5f1274c7835cd3d8 / D115544 I accidentally added ${LLVM_INCLUDE_DIR}/ to the destination path. This broke the "LLDB Incremental" build. Putting it back the way it was should fix it. Differencial Revision: https://reviews.llvm.org/D115553 --- llvm/include/llvm/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CMakeLists.txt b/llvm/include/llvm/CMakeLists.txt index 2feabd1..b46319f 100644 --- a/llvm/include/llvm/CMakeLists.txt +++ b/llvm/include/llvm/CMakeLists.txt @@ -5,5 +5,5 @@ add_subdirectory(Frontend) # If we're doing an out-of-tree build, copy a module map for generated # header files into the build area. if (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") - configure_file(module.modulemap.build ${LLVM_INCLUDE_DIR}/module.modulemap COPYONLY) + configure_file(module.modulemap.build module.modulemap COPYONLY) endif (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") -- 2.7.4