[CMake] Use common variable for all header targets NFC

This simplifies the handling of header targets.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@334477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Petr Hosek
2018-06-12 06:58:06 +00:00
parent 8650687840
commit 204d5ec7f1
3 changed files with 8 additions and 9 deletions

View File

@@ -78,8 +78,8 @@ macro(setup_abi_lib abidefines abilib abifiles abidirs)
endforeach()
include_directories("${LIBCXX_BINARY_INCLUDE_DIR}")
add_custom_target(cxx-abi-headers ALL DEPENDS ${abilib_headers})
set(LIBCXX_ABI_HEADERS_TARGET cxx-abi-headers)
add_custom_target(cxx_abi_headers ALL DEPENDS ${abilib_headers})
set(LIBCXX_CXX_ABI_HEADER_TARGET "cxx_abi_headers")
endmacro()