Skip to content

Commit

Permalink
Merge pull request #33764 from kadas-albireo/install_sip
Browse files Browse the repository at this point in the history
Install source sip files
  • Loading branch information
manisandro committed Jan 16, 2020
2 parents d2e4fd9 + 666b839 commit d573e3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/CMakeLists.txt
Expand Up @@ -405,4 +405,9 @@ FOREACH(module ${PY_MODULES})
)
ENDFOREACH(pyfile)
PY_COMPILE(py${module} "${QGIS_PYTHON_OUTPUT_DIRECTORY}/${module}")

# install source sip files
FILE(GLOB sip_files ${CMAKE_CURRENT_BINARY_DIR}/${module}/*.sip)
INSTALL(FILES ${sip_files} DESTINATION ${SIP_DEFAULT_SIP_DIR}/qgis/${module})
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${module}/auto_generated DESTINATION ${SIP_DEFAULT_SIP_DIR}/qgis/${module})
ENDFOREACH(module)

0 comments on commit d573e3b

Please sign in to comment.