[CMake] Add SharingPtr.h to the Framework header list

lldb-forward.h which is a public header uses SharingPtr, so we need to include that header as well.

llvm-svn: 309429
This commit is contained in:
Chris Bieneman 2017-07-28 20:27:38 +00:00
parent 6678e39aa4
commit 20f45a3e73
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ if(LLDB_BUILD_FRAMEWORK)
file(GLOB root_private_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-private*.h)
list(REMOVE_ITEM root_public_headers ${root_private_headers})
foreach(header ${public_headers} ${root_public_headers})
foreach(header ${public_headers} ${root_public_headers} ${LLDB_SOURCE_DIR}/include/lldb/Utility/SharingPtr.h)
get_filename_component(basename ${header} NAME)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/FrameworkHeaders/${basename}
DEPENDS ${header}