find_library(): Add support for .xcframework

Issue: #21752
This commit is contained in:
Kyle Edwards
2023-07-11 08:33:37 -04:00
parent 07ac0c0ae0
commit 9bf8f7de06
5 changed files with 40 additions and 0 deletions
+4
View File
@@ -60,6 +60,10 @@ path to the framework ``<fullPath>/A.framework``. When a full path to a
framework is used as a library, CMake will use a ``-framework A``, and a
``-F<fullPath>`` to link the framework to the target.
.. versionadded:: 3.28
The library found can now be a ``.xcframework`` folder.
If the :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable is set all
search paths will be tested as normal, with the suffix appended, and with
all matches of ``lib/`` replaced with