From fc3e58b2ba0a2b5003a36de5ce6a42277a3e935f Mon Sep 17 00:00:00 2001 From: qgis-bot <58983587+qgis-bot@users.noreply.github.com> Date: Mon, 22 Jul 2024 13:39:25 +0200 Subject: [PATCH] [Backport release-3_34] fix class map install (#58201) * fix class map install * fix path --------- Co-authored-by: Denis Rouzaud --- python/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index a7c1b4125c12..eea18ae67fea 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -423,6 +423,9 @@ foreach(module ${PY_MODULES}) endforeach(pyfile) PY_COMPILE(py${module} "${QGIS_PYTHON_OUTPUT_DIRECTORY}/${module}") + # install class map file + install(FILES ${BINDING_FILES_ROOT_DIR}/${module}/class_map.yaml DESTINATION "${QGIS_PYTHON_DIR}/${module}") + # install source sip files if(SIP_GLOBAL_INSTALL) file(GLOB sip_files ${CMAKE_CURRENT_BINARY_DIR}/${module}/*.sip) @@ -431,5 +434,3 @@ foreach(module ${PY_MODULES}) endif() endforeach(module) -# install sipify config -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/sipify.yaml DESTINATION "${QGIS_PYTHON_DIR}")