summaryrefslogtreecommitdiff
path: root/Modules/FindPython3.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/FindPython3.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/FindPython3.cmake')
-rw-r--r--Modules/FindPython3.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake
index 266b50ab52..c79d482dd7 100644
--- a/Modules/FindPython3.cmake
+++ b/Modules/FindPython3.cmake
@@ -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``