File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,13 @@ else()
1414endif ()
1515
1616if ("${Python_INTERPRETER_ID} " STREQUAL "PyPy" )
17+ message (STATUS "PyPy SOABI: ${Python_SOABI} " )
1718 execute_process (
1819 COMMAND "${Python_EXECUTABLE} " -c
1920 "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX').split('.')[1])"
20- OUTPUT_VARIABLE _platform_tag
21+ OUTPUT_VARIABLE Python_SOABI
2122 OUTPUT_STRIP_TRAILING_WHITESPACE COMMAND_ECHO STDOUT)
22- message (STATUS "PyPy SOABI: ${Python_SOABI} " )
23- if (NOT Python_SOABI MATCHES "${_platform_tag} $" )
24- set (Python_SOABI "${Python_SOABI} -${_platform_tag} " )
25- message (STATUS "New SOABI: ${Python_SOABI} " )
26- endif ()
23+ message (STATUS "Corrected SOABI: ${Python_SOABI} " )
2724endif ()
2825
2926include (FetchContent)
You can’t perform that action at this time.
0 commit comments