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/FindPython.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/FindPython.cmake')
-rw-r--r-- | Modules/FindPython.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake index 2d13f48..5fc6a3b 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`` |