forked from OSchip/llvm-project
Revert "[llvm] Partial revert, hopefully fix LLVM module maps build"
This reverts commit 8d897ec915
.
I tentativily landed John's patch in D115553 to fix the macOS bots but
it's still failing as shown here:
https://green.lab.llvm.org/green/job/lldb-cmake/39267/
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
This commit is contained in:
parent
1a68c14b57
commit
654aa3ad92
|
@ -5,5 +5,5 @@ add_subdirectory(Frontend)
|
||||||
# If we're doing an out-of-tree build, copy a module map for generated
|
# If we're doing an out-of-tree build, copy a module map for generated
|
||||||
# header files into the build area.
|
# header files into the build area.
|
||||||
if (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
if (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
||||||
configure_file(module.modulemap.build module.modulemap COPYONLY)
|
configure_file(module.modulemap.build ${LLVM_INCLUDE_DIR}/module.modulemap COPYONLY)
|
||||||
endif (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
endif (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
||||||
|
|
Loading…
Reference in New Issue