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/FindPython2.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/FindPython2.cmake')
-rw-r--r-- | Modules/FindPython2.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake index 97e376d..9cd22e1 100644 --- a/Modules/FindPython2.cmake +++ b/Modules/FindPython2.cmake @@ -134,6 +134,9 @@ This module will set the following variables in your project System has the Python 2 development artifacts for Python embedding. ``Python2_INCLUDE_DIRS`` The Python 2 include directories. +``Python2_LINK_OPTIONS`` + The Python 2 link options. Some configurations require specific link options + for a correct build and execution. ``Python2_LIBRARIES`` The Python 2 libraries. ``Python2_LIBRARY_DIRS`` |