diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-10-12 13:45:55 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-10-12 13:45:55 (GMT) |
commit | 5772ca0a531c863874130b08611174274fe36037 (patch) | |
tree | a3fc5e24f8fda651ac7002c93b76fa32ff001633 /Modules/FindPython3.cmake | |
parent | 3fb2112880ca3be6299721f5add1928483de0b1b (diff) | |
download | CMake-5772ca0a531c863874130b08611174274fe36037.zip CMake-5772ca0a531c863874130b08611174274fe36037.tar.gz CMake-5772ca0a531c863874130b08611174274fe36037.tar.bz2 |
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.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake index 266b50a..c79d482 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`` |