Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 0a6ad624 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

add install rule for sip files

parent 06acb664
......@@ -18,6 +18,7 @@ set(DTK_BUILD_64 @DTK_BUILD_64@)
## ###################################################################
##
## ###################################################################
set(dtk_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/")
set(dtk_INCLUDE_DIRS
"@CMAKE_INSTALL_PREFIX@/include"
......
......@@ -334,5 +334,18 @@ if(SWIG_FOUND)
endif()
endif()
if(SIP_FOUND)
if (DTK_WRAPPING_PYTHON AND PYTHONLIBS_FOUND)
install(FILES
${CMAKE_SOURCE_DIR}/sip/${PROJECT_NAME}/dtkViewController.sip
${CMAKE_SOURCE_DIR}/sip/${PROJECT_NAME}/dtkViewLayout.sip
${CMAKE_SOURCE_DIR}/sip/${PROJECT_NAME}/dtkViewLayoutItem.sip
${CMAKE_SOURCE_DIR}/sip/${PROJECT_NAME}/dtkViewManager.sip
${CMAKE_SOURCE_DIR}/sip/${PROJECT_NAME}/dtkViewWidget.sip
${CMAKE_SOURCE_DIR}/sip/${PROJECT_NAME}/dtkWidgetsmod.sip
DESTINATION sip/dtkWidgets)
endif()
endif()
######################################################################
### CMakeLists.txt ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment