FindPython*: MacOS: Fix erroneous handling of Frameworks.

Fixes: #18204
This commit is contained in:
Marc Chevrier
2018-08-02 16:50:40 +02:00
parent b0b53921ce
commit ffb560adc9
4 changed files with 180 additions and 17 deletions

View File

@@ -117,6 +117,14 @@ Hints
* If set to TRUE, search **only** for static libraries.
* If set to FALSE, search **only** for shared libraries.
``CMAKE_FIND_FRAMEWORK``
On OS X the :variable:`CMAKE_FIND_FRAMEWORK` variable determine the order of
preference between Apple-style and unix-style package components.
.. note::
Value ``ONLY`` is not supported so ``FIRST`` will be used instead.
Commands
^^^^^^^^