summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-08-02 14:50:40 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2018-09-12 08:04:04 (GMT)
commitffb560adc98ee7c07d0e3cd50b28a38a4997cc8b (patch)
tree8a0e93d20a5dee8a3ffc5ca8c2817f64a9fb8015 /Modules/FindPython.cmake
parentb0b53921cef242acc91e6ab4dd495daff54191d6 (diff)
downloadCMake-ffb560adc98ee7c07d0e3cd50b28a38a4997cc8b.zip
CMake-ffb560adc98ee7c07d0e3cd50b28a38a4997cc8b.tar.gz
CMake-ffb560adc98ee7c07d0e3cd50b28a38a4997cc8b.tar.bz2
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 8139e53..b8657b4 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
^^^^^^^^