diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-01-07 15:42:15 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-01-09 13:43:22 (GMT) |
commit | 61502d395609672cd101da74d290895d20b0e7c7 (patch) | |
tree | e4e208381f5a5fb5268a60fd7ddf0a70c5a5e616 /Modules/FindPython3.cmake | |
parent | 635225513e2139559cc3e31acc8006377e01fc94 (diff) | |
download | CMake-61502d395609672cd101da74d290895d20b0e7c7.zip CMake-61502d395609672cd101da74d290895d20b0e7c7.tar.gz CMake-61502d395609672cd101da74d290895d20b0e7c7.tar.bz2 |
FindPython: Add variable Python_SOABI
This variable holds the standard extension suffix for modules.
Fixes: #20150
Diffstat (limited to 'Modules/FindPython3.cmake')
-rw-r--r-- | Modules/FindPython3.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake index 0a96fad..00c354e 100644 --- a/Modules/FindPython3.cmake +++ b/Modules/FindPython3.cmake @@ -94,6 +94,13 @@ This module will set the following variables in your project Information returned by ``distutils.sysconfig.get_python_lib(plat_specific=True,standard_lib=False)``. +``Python3_SOABI`` + Extension suffix for modules. + + Information returned by + ``distutils.sysconfig.get_config_flag('SOABI')`` or computed from + ``distutils.sysconfig.get_config_flag('EXT_SUFFIX')`` or + ``python3-config --extension-suffix``. ``Python3_Compiler_FOUND`` System has the Python 3 compiler. ``Python3_COMPILER`` |