summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2023-02-23 14:03:50 +0100
committerDavid Schulz <david.schulz@qt.io>2023-02-24 05:24:06 +0000
commit78ccdb5c37b7fdebcaf399a1a159b6ede9923216 (patch)
tree2f786a7173c3d5c659be462843acc89ebe74ee0b /cmake
parent8b243290fbdf458970e229ac5d32e7f45576a3d2 (diff)
downloadqt-creator-78ccdb5c37b7fdebcaf399a1a159b6ede9923216.tar.gz
Cdbext: fix collecting required modules for python > 3.10
Change-Id: Ib8f5ff953f70cfb1ad15ea29522e02d65c58cafa Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CreatePythonXY.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/CreatePythonXY.cmake b/cmake/CreatePythonXY.cmake
index 0475b259f6..637c4940c8 100644
--- a/cmake/CreatePythonXY.cmake
+++ b/cmake/CreatePythonXY.cmake
@@ -3,7 +3,7 @@
function(create_python_xy PythonExe PythonZipFilePath)
get_filename_component(python_lib_dir "${PythonExe}" DIRECTORY)
get_filename_component(python_lib_dir "${python_lib_dir}/Lib" ABSOLUTE)
- foreach(dir collections encodings importlib json urllib)
+ foreach(dir collections encodings importlib json urllib re)
file(COPY ${python_lib_dir}/${dir}
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/python-lib
FILES_MATCHING PATTERN "*.py"