Skip to content

Commit

Permalink
fix class map install (#58200)
Browse files Browse the repository at this point in the history
* fix class map install

* fix path
  • Loading branch information
3nids authored Jul 22, 2024
1 parent f4005f7 commit 5166fc7
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 @@ -442,6 +442,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 @@ -450,5 +453,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 5166fc7

Please sign in to comment.