summaryrefslogtreecommitdiff
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-10-12 15:45:55 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2020-10-12 15:45:55 +0200
commit5772ca0a531c863874130b08611174274fe36037 (patch)
treea3fc5e24f8fda651ac7002c93b76fa32ff001633 /Modules/FindPython.cmake
parent3fb2112880ca3be6299721f5add1928483de0b1b (diff)
downloadcmake-5772ca0a531c863874130b08611174274fe36037.tar.gz
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
Diffstat (limited to 'Modules/FindPython.cmake')
-rw-r--r--Modules/FindPython.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake
index 2d13f48162..5fc6a3b21c 100644
--- a/Modules/FindPython.cmake
+++ b/Modules/FindPython.cmake
@@ -142,6 +142,9 @@ This module will set the following variables in your project
System has the Python development artifacts for Python embedding.
``Python_INCLUDE_DIRS``
The Python include directories.
+``Python_LINK_OPTIONS``
+ The Python link options. Some configurations require specific link options
+ for a correct build and execution.
``Python_LIBRARIES``
The Python libraries.
``Python_LIBRARY_DIRS``