From 78ccdb5c37b7fdebcaf399a1a159b6ede9923216 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Thu, 23 Feb 2023 14:03:50 +0100 Subject: [PATCH] Cdbext: fix collecting required modules for python > 3.10 Change-Id: Ib8f5ff953f70cfb1ad15ea29522e02d65c58cafa Reviewed-by: Cristian Adam Reviewed-by: --- cmake/CreatePythonXY.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CreatePythonXY.cmake b/cmake/CreatePythonXY.cmake index 0475b259f68..637c4940c83 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"