[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:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user