summaryrefslogtreecommitdiff
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-11-15 09:48:26 +0100
committerMarc Chevrier <marc.chevrier@gmail.com>2022-11-15 16:54:44 +0100
commit328d847f7032f08334e3558a25ee60e7298f88dd (patch)
tree144d7cb9fcc8367a4f57d31a0605b28fddcdbd4d /Modules/FindPython.cmake
parent88c4006f054bd3a2233ce607e22d961f106c3512 (diff)
downloadcmake-328d847f7032f08334e3558a25ee60e7298f88dd.tar.gz
FindPython: enhance SOABI computation
Fixes: #24121, #23651
Diffstat (limited to 'Modules/FindPython.cmake')
-rw-r--r--Modules/FindPython.cmake11
1 files changed, 5 insertions, 6 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake
index d98bc95a30..3fb56e4660 100644
--- a/Modules/FindPython.cmake
+++ b/Modules/FindPython.cmake
@@ -139,12 +139,11 @@ This module will set the following variables in your project
Extension suffix for modules.
- Information returned by
- ``distutils.sysconfig.get_config_var('SOABI')`` or computed from
- ``distutils.sysconfig.get_config_var('EXT_SUFFIX')`` or
- ``python-config --extension-suffix``. If package ``distutils.sysconfig`` is
- not available, ``sysconfig.get_config_var('SOABI')`` or
- ``sysconfig.get_config_var('EXT_SUFFIX')`` are used.
+ Information computed from ``distutils.sysconfig.get_config_var('EXT_SUFFIX')``
+ or ``distutils.sysconfig.get_config_var('SOABI')`` or
+ ``python3-config --extension-suffix``. If package ``distutils.sysconfig`` is
+ not available, ``sysconfig.get_config_var('EXT_SUFFIX')`` or
+ ``sysconfig.get_config_var('SOABI')`` are used.
``Python_Compiler_FOUND``
System has the Python compiler.