FindPython: Ensure Apple Xcode python 3 is usable

The python 3 distributed as part of Xcode requires the specification
of a 'rpath' pointing at frameowrks root for a correct execution.

Fixes: #21293
This commit is contained in:
Marc Chevrier
2020-10-12 15:45:55 +02:00
parent 3fb2112880
commit 5772ca0a53
5 changed files with 41 additions and 0 deletions

View File

@@ -143,6 +143,9 @@ This module will set the following variables in your project
System has the Python 3 development artifacts for Python embedding.
``Python3_INCLUDE_DIRS``
The Python 3 include directories.
``Python3_LINK_OPTIONS``
The Python 3 link options. Some configurations require specific link options
for a correct build and execution.
``Python3_LIBRARIES``
The Python 3 libraries.
``Python3_LIBRARY_DIRS``