summaryrefslogtreecommitdiff
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-08-02 16:50:40 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2018-09-12 10:04:04 +0200
commitffb560adc98ee7c07d0e3cd50b28a38a4997cc8b (patch)
tree8a0e93d20a5dee8a3ffc5ca8c2817f64a9fb8015 /Modules/FindPython.cmake
parentb0b53921cef242acc91e6ab4dd495daff54191d6 (diff)
downloadcmake-ffb560adc98ee7c07d0e3cd50b28a38a4997cc8b.tar.gz
FindPython*: MacOS: Fix erroneous handling of Frameworks.
Fixes: #18204
Diffstat (limited to 'Modules/FindPython.cmake')
-rw-r--r--Modules/FindPython.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake
index 8139e53f0f..b8657b47d6 100644
--- a/Modules/FindPython.cmake
+++ b/Modules/FindPython.cmake
@@ -116,6 +116,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
^^^^^^^^