Commit 15df44c1 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Build, but do not install gemini and sketch by default

parent dc6b7d53
......@@ -170,5 +170,5 @@ install(FILES krita.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/appdata/ )
if (${QTVERSION} VERSION_GREATER 4.7.0 AND NOT APPLE AND HAVE_OPENGL)
add_subdirectory(sketch)
# add_subdirectory(gemini)
add_subdirectory(gemini)
endif ()
......@@ -41,10 +41,10 @@ target_link_libraries(kritagemini
kritasketchlib
)
install(TARGETS kritagemini ${INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS kritagemini.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES kritageminirc kritageminipanelsrc DESTINATION ${CONFIG_INSTALL_DIR} )
install(FILES kritagemini.qml DESTINATION ${DATA_INSTALL_DIR}/kritagemini)
install(FILES kritagemini.rc DESTINATION ${DATA_INSTALL_DIR}/kritagemini)
#install(TARGETS kritagemini ${#install_TARGETS_DEFAULT_ARGS})
#install(PROGRAMS kritagemini.desktop DESTINATION ${XDG_APPS_#install_DIR})
#install(FILES kritageminirc kritageminipanelsrc DESTINATION ${CONFIG_#install_DIR} )
#install(FILES kritagemini.qml DESTINATION ${DATA_#install_DIR}/kritagemini)
#install(FILES kritagemini.rc DESTINATION ${DATA_#install_DIR}/kritagemini)
add_subdirectory(icon)
......@@ -127,10 +127,10 @@ target_link_libraries(kritasketchlib
${GLEW_LIBRARIES}
)
include(GNUInstallDirs)
include(GNU#installDirs)
install(TARGETS kritasketchlib DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(TARGETS kritasketchlib ${INSTALL_TARGETS_DEFAULT_ARGS})
#install(TARGETS kritasketchlib DESTINATION ${CMAKE_INSTALL_LIBDIR})
#install(TARGETS kritasketchlib ${INSTALL_TARGETS_DEFAULT_ARGS})
# Krita Sketch application
......@@ -149,10 +149,10 @@ target_link_libraries(kritasketch
)
#install(TARGETS kritasketch ${INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS kritasketch.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES kritasketchrc kritasketchpanelsrc DESTINATION ${CONFIG_INSTALL_DIR} )
install(FILES kritasketch.qml DESTINATION ${DATA_INSTALL_DIR}/kritasketch)
install(FILES kritasketch.rc DESTINATION ${DATA_INSTALL_DIR}/kritasketch)
#install(PROGRAMS kritasketch.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
#install(FILES kritasketchrc kritasketchpanelsrc DESTINATION ${CONFIG_INSTALL_DIR} )
#install(FILES kritasketch.qml DESTINATION ${DATA_INSTALL_DIR}/kritasketch)
#install(FILES kritasketch.rc DESTINATION ${DATA_INSTALL_DIR}/kritasketch)
# Sketch Qt Quick components
# =============================================================================
......@@ -171,22 +171,22 @@ target_link_libraries(kritasketchplugin
kritasketchlib
)
install(TARGETS kritasketchplugin DESTINATION ${CMAKE_INSTALL_LIBDIR}/calligra/imports/org/krita/sketch)
install(FILES
qmldir
qml/HelpPage.qml
qml/KritaSketchBase.qml
qml/MainPage.qml
qml/OpenImagePage.qml
qml/SaveImagePage.qml
qml/SettingsPage.qml
qml/WelcomePage.qml
qml/CustomImagePage.qml
DESTINATION ${CMAKE_INSTALL_LIBDIR}/calligra/imports/org/krita/sketch)
install(DIRECTORY qml/components DESTINATION ${CMAKE_INSTALL_LIBDIR}/calligra/imports/org/krita/sketch PATTERN "*~" EXCLUDE)
install(DIRECTORY qml/images DESTINATION ${CMAKE_INSTALL_LIBDIR}/calligra/imports/org/krita/sketch PATTERN "*~" EXCLUDE)
install(DIRECTORY qml/panels DESTINATION ${CMAKE_INSTALL_LIBDIR}/calligra/imports/org/krita/sketch PATTERN "*~" EXCLUDE)
install(DIRECTORY themes DESTINATION ${DATA_INSTALL_DIR}/kritasketch)
#install(TARGETS kritasketchplugin DESTINATION ${CMAKE_INSTALL_LIBDIR}/calligra/imports/org/krita/sketch)
#install(FILES
# qmldir
# qml/HelpPage.qml
# qml/KritaSketchBase.qml
# qml/MainPage.qml
# qml/OpenImagePage.qml
# qml/SaveImagePage.qml
# qml/SettingsPage.qml
# qml/WelcomePage.qml
# qml/CustomImagePage.qml
# DESTINATION ${CMAKE_#install_LIBDIR}/calligra/imports/org/krita/sketch)
#install(DIRECTORY qml/components DESTINATION ${CMAKE_INSTALL_LIBDIR}/calligra/imports/org/krita/sketch PATTERN "*~" EXCLUDE)
#install(DIRECTORY qml/images DESTINATION ${CMAKE_INSTALL_LIBDIR}/calligra/imports/org/krita/sketch PATTERN "*~" EXCLUDE)
#install(DIRECTORY qml/panels DESTINATION ${CMAKE_INSTALL_LIBDIR}/calligra/imports/org/krita/sketch PATTERN "*~" EXCLUDE)
#install(DIRECTORY themes DESTINATION ${DATA_INSTALL_DIR}/kritasketch)
add_subdirectory(icon)
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