diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-09-15 15:09:07 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-09-21 14:14:36 (GMT) |
commit | 0bd3efffbc97783bf8b1a6dcf3132a1bca84dce9 (patch) | |
tree | ce8505ac8a9c7a8e9c09a0ee0af5beebae522682 /Help/variable | |
parent | 2ce95133d65ed44e69543b286e47d768dbceff2b (diff) | |
download | CMake-0bd3efffbc97783bf8b1a6dcf3132a1bca84dce9.zip CMake-0bd3efffbc97783bf8b1a6dcf3132a1bca84dce9.tar.gz CMake-0bd3efffbc97783bf8b1a6dcf3132a1bca84dce9.tar.bz2 |
Genex LINK_LIBRARY: Add support for framework with postfix
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt b/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt index 8ae6c57..aea1be8 100644 --- a/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt +++ b/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt @@ -45,8 +45,8 @@ wildcard, and optional parts are shown as ``[...]``): * ``[/path/to/]FwName[.framework]`` - * ``[/path/to/]FwName.framework/FwName`` - * ``[/path/to/]FwName.framework/Versions/*/FwName`` + * ``[/path/to/]FwName.framework/FwName[suffix]`` + * ``[/path/to/]FwName.framework/Versions/*/FwName[suffix]`` Note that CMake recognizes and automatically handles framework targets, even without using the ``$<LINK_LIBRARY:FRAMEWORK,...>`` expression. @@ -59,6 +59,11 @@ ``$<LINK_LIBRARY:FRAMEWORK,...>`` for file paths so that the expected behavior is clear. + .. versionadded:: 3.25 + The :prop_tgt:`FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG>` target property as + well as the ``suffix`` of the framework library name are now supported by + the ``FRAMEWORK`` features. + ``NEEDED_FRAMEWORK`` This is similar to the ``FRAMEWORK`` feature, except it forces the linker to link with the framework even if no symbols are used from it. It uses |