Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Install source sip files
  • Loading branch information
manisandro committed Jan 15, 2020
1 parent 34d3aaa commit 666b839
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/CMakeLists.txt
Expand Up @@ -404,4 +404,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 666b839

Please sign in to comment.