From e831eef933c21ea8b5f24a6ffc51e52f87149c91 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Wed, 13 Dec 2023 11:36:22 +1100 Subject: Help: Note case where IMPORTED_IMPLIB isn't needed for (xc)frameworks --- Help/prop_tgt/IMPORTED_IMPLIB.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Help/prop_tgt/IMPORTED_IMPLIB.rst b/Help/prop_tgt/IMPORTED_IMPLIB.rst index 7cbffeb..135c31c 100644 --- a/Help/prop_tgt/IMPORTED_IMPLIB.rst +++ b/Help/prop_tgt/IMPORTED_IMPLIB.rst @@ -20,6 +20,12 @@ This property may be set: the library is considered to be a stub, and its location will not be added as a runtime search path to dependents that link it. +.. versionchanged:: 3.28 + If an imported target is an Apple framework or XCFramework, the preferred + arrangement is to set :prop_tgt:`IMPORTED_LOCATION` to the ``.framework`` + or ``.xcframework`` directory. CMake will then find the relevant ``.tbd`` + file inside that framework or XCFramework automatically without requiring + ``IMPORTED_IMPLIB`` to be set. The ``IMPORTED_IMPLIB`` target property may be overridden for a given configuration ```` by the configuration-specific -- cgit v0.12