Else, just-built clang can't build programs that include libc++ headers
on macOS if you build via the 'all' target.
This commit is contained in:
Nico Weber 2021-04-02 09:19:31 -04:00
parent 2dfa2c0ea0
commit d3b74dc1e4
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ foreach(f ${files})
list(APPEND _all_includes "${dst}")
endforeach()
add_custom_target(generate-cxx-headers DEPENDS ${_all_includes})
add_custom_target(generate-cxx-headers ALL DEPENDS ${_all_includes})
add_library(cxx-headers INTERFACE)
add_dependencies(cxx-headers generate-cxx-headers ${LIBCXX_CXX_ABI_HEADER_TARGET})