summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-01-10 09:55:10 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-10 09:55:20 (GMT)
commitc1b5f8eb4588bfe9dca6b3d93885e66e903c362a (patch)
tree338465d9ea60a1d75e920716459df5942d145c0c /Modules/FindPython.cmake
parentee20c0ebf4a51132b2a2b8da1fd4a81f61c8013d (diff)
parent61502d395609672cd101da74d290895d20b0e7c7 (diff)
downloadCMake-c1b5f8eb4588bfe9dca6b3d93885e66e903c362a.zip
CMake-c1b5f8eb4588bfe9dca6b3d93885e66e903c362a.tar.gz
CMake-c1b5f8eb4588bfe9dca6b3d93885e66e903c362a.tar.bz2
Merge topic 'FindPython-SOABI'
61502d3956 FindPython: Add variable Python_SOABI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4190
Diffstat (limited to 'Modules/FindPython.cmake')
-rw-r--r--Modules/FindPython.cmake7
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``