Skip to content

Commit 4b6c557

Browse files
committed
Fix _testinternalcapi enabled, add 3.11.11
1 parent afa9e42 commit 4b6c557

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ set(_download_3.10.12_md5 "1d64320e0b0df6e9ab7e611bacb2178d")
309309
set(_download_3.10.13_md5 "cbcad7f5e759176bf8ce8a5f9d487087")
310310
# 3.11.x
311311
set(_download_3.11.7_md5 "ef61f81ec82c490484219c7f0ec96783")
312+
set(_download_3.11.11_md5 "9a5b43fcc06810b8ae924b0a080e6569")
312313

313314
set(_extracted_dir "Python-${PY_VERSION}")
314315

cmake/extensions/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ endif()
161161

162162
# Python 3.8
163163
if(PY_VERSION VERSION_GREATER_EQUAL "3.8")
164-
add_python_extension(_testinternalcapi SOURCES _testinternalcapi.c DEFINITIONS "PY3_DLLNAME=\"python3$<$<CONFIG:Debug>:_d>\"")
164+
add_python_extension(_testinternalcapi NEVER_BUILTIN SOURCES _testinternalcapi.c DEFINITIONS "PY3_DLLNAME=\"python3$<$<CONFIG:Debug>:_d>\"")
165165
endif()
166166

167167
# Python 3.9

0 commit comments

Comments
 (0)