Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c737a3

Browse files
committed
Add a dependency from lldb-sbapi-dwarf-enums as a dependency of libll… (llvm#91511)
…db-resource-headers The Xcode build otherwise fails with ``` CMake Error in source/API/CMakeLists.txt: The custom command generating /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-standalone/lldb-xcode-build/include/lldb/API/SBLanguages.h is attached to multiple targets: lldb-sbapi-dwarf-enums liblldb-resource-headers but none of these is a common dependency of the other(s). This is not allowed by the Xcode "new build system". CMake Generate step failed. Build files cannot be regenerated correctly. ``` (cherry picked from commit fcfc15b) (cherry picked from commit d645457)
1 parent 2c02c4e commit 4c737a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/cmake/modules/LLDBFramework.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ foreach(header
105105
endforeach()
106106

107107
# Wrap output in a target, so lldb-framework can depend on it.
108-
add_custom_target(liblldb-resource-headers DEPENDS ${lldb_staged_headers})
108+
add_custom_target(liblldb-resource-headers DEPENDS lldb-sbapi-dwarf-enums ${lldb_staged_headers})
109109
set_target_properties(liblldb-resource-headers PROPERTIES FOLDER "lldb misc")
110110
add_dependencies(liblldb liblldb-resource-headers)
111111

0 commit comments

Comments
 (0)