Skip to content

Commit

Permalink
[Backport release-3_34] fix class map install (#58201)
Browse files Browse the repository at this point in the history
* fix class map install

* fix path

---------

Co-authored-by: Denis Rouzaud <[email protected]>
  • Loading branch information
qgis-bot and 3nids authored Jul 22, 2024
1 parent f4e5bad commit fc3e58b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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}")

0 comments on commit fc3e58b

Please sign in to comment.