From ffb560adc98ee7c07d0e3cd50b28a38a4997cc8b Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Thu, 2 Aug 2018 16:50:40 +0200 Subject: FindPython*: MacOS: Fix erroneous handling of Frameworks. Fixes: #18204 --- Modules/FindPython2.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Modules/FindPython2.cmake') diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake index 22e9a8fdb9..78ed29ace8 100644 --- a/Modules/FindPython2.cmake +++ b/Modules/FindPython2.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 ^^^^^^^^ -- cgit v1.2.1