Xcode: Inherit target library and framework search paths from project
Xcode has multiple levels of build settings with priority in descending order:
- Target
- Project
- Workspace
- SDK defaults
CMAKE_XCODE_ATTRIBUTE_*
path variables add these to project level, but linked frameworks and libraries override this in target. This fix adds $(inherited)
macro to keep both in the final list.
Fixes: #21387 (closed)
Backport: release
Edited by Brad King