mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 09:16:08 +00:00
[CMake] Add a missing target dependency on C++ ABI headers
This resolves the breakage introduced in r334468 which results in build error when using CMake Makefile generator. llvm-svn: 334470
This commit is contained in:
parent
cfd7eec3d8
commit
0aa70faf9b
@ -79,6 +79,7 @@ macro(setup_abi_lib abidefines abilib abifiles abidirs)
|
||||
|
||||
include_directories("${LIBCXX_BINARY_INCLUDE_DIR}")
|
||||
add_custom_target(cxx-abi-headers ALL DEPENDS ${abilib_headers})
|
||||
set(LIBCXX_ABI_HEADERS_TARGET cxx-abi-headers)
|
||||
endmacro()
|
||||
|
||||
|
||||
|
@ -287,7 +287,7 @@ endif()
|
||||
|
||||
# Add a meta-target for both libraries.
|
||||
add_custom_target(cxx DEPENDS ${LIBCXX_TARGETS})
|
||||
add_dependencies(cxx cxx-headers)
|
||||
add_dependencies(cxx cxx-headers ${LIBCXX_ABI_HEADERS_TARGET})
|
||||
|
||||
if (LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY)
|
||||
file(GLOB LIBCXX_EXPERIMENTAL_SOURCES ../src/experimental/*.cpp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user