Skip to content

Commit

Permalink
fix class map install
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and github-actions[bot] committed Jul 22, 2024
1 parent 3d4177a commit 7293483
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}/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 7293483

Please sign in to comment.