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/FindPython.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/FindPython.cmake')
-rw-r--r-- | Modules/FindPython.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake index 177ed58..be272e1 100644 --- a/Modules/FindPython.cmake +++ b/Modules/FindPython.cmake @@ -93,6 +93,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)``. +``Python_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 + ``python-config --extension-suffix``. ``Python_Compiler_FOUND`` System has the Python compiler. ``Python_COMPILER`` |