summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython3.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/FindPython3.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/FindPython3.cmake')
-rw-r--r--Modules/FindPython3.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake
index 99c159b..48054a9 100644
--- a/Modules/FindPython3.cmake
+++ b/Modules/FindPython3.cmake
@@ -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
^^^^^^^^