<div dir="ltr">Hi,<div><br></div><div>I have multiple framework targets in my project, that depend on each other. I add the linking phase using the target_link_libraries command</div><div><br></div><div>target_link_libraries (${PROJECT_NAME} ${USED_LIBS})<br></div><div><br></div><div>that will create linker flags like this:</div><div><br></div><div>/Users/icsanady/occt_git/occt/src/TKernel/Debug$(EFFECTIVE_PLATFORM_NAME)/TKernel.framework/Versions/A/TKernel<br></div><div><br></div><div>There are two problems with this:</div><div>1. I don't want to link to the full path, but rather a relative path</div><div>2. My frameworks are not versioned, so I want the trailing /Versions/A part removed</div><div><br></div><div>If I add the dependent framework through the Build Phases/Link Binary With Libraries phase, everything works as expected. Can I somehow add that build phase with CMake?</div><div><br></div><div>Thanks,</div><div>Istvan</div></div>