summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython3.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-11-15 08:48:26 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-11-15 15:54:44 (GMT)
commit328d847f7032f08334e3558a25ee60e7298f88dd (patch)
tree144d7cb9fcc8367a4f57d31a0605b28fddcdbd4d /Modules/FindPython3.cmake
parent88c4006f054bd3a2233ce607e22d961f106c3512 (diff)
downloadCMake-328d847f7032f08334e3558a25ee60e7298f88dd.zip
CMake-328d847f7032f08334e3558a25ee60e7298f88dd.tar.gz
CMake-328d847f7032f08334e3558a25ee60e7298f88dd.tar.bz2
FindPython: enhance SOABI computation
Fixes: #24121, #23651
Diffstat (limited to 'Modules/FindPython3.cmake')
-rw-r--r--Modules/FindPython3.cmake9
1 files changed, 4 insertions, 5 deletions
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake
index 75b7a34..837300e 100644
--- a/Modules/FindPython3.cmake
+++ b/Modules/FindPython3.cmake
@@ -140,12 +140,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
+ 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('SOABI')`` or
- ``sysconfig.get_config_var('EXT_SUFFIX')`` are used.
+ not available, ``sysconfig.get_config_var('EXT_SUFFIX')`` or
+ ``sysconfig.get_config_var('SOABI')`` are used.
``Python3_Compiler_FOUND``
System has the Python 3 compiler.