FindPython: Add variable Python_SOABI

This variable holds the standard extension suffix for modules.

Fixes: #20150
This commit is contained in:
Marc Chevrier
2020-01-07 16:42:15 +01:00
parent 635225513e
commit 61502d3956
6 changed files with 104 additions and 6 deletions

View File

@@ -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``