forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
function(create_python_xy PythonExe PythonZipFilePath)
|
function(create_python_xy PythonExe PythonZipFilePath)
|
||||||
get_filename_component(python_lib_dir "${PythonExe}" DIRECTORY)
|
get_filename_component(python_lib_dir "${PythonExe}" DIRECTORY)
|
||||||
get_filename_component(python_lib_dir "${python_lib_dir}/Lib" ABSOLUTE)
|
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}
|
file(COPY ${python_lib_dir}/${dir}
|
||||||
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/python-lib
|
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/python-lib
|
||||||
FILES_MATCHING PATTERN "*.py"
|
FILES_MATCHING PATTERN "*.py"
|
||||||
|
Reference in New Issue
Block a user