mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-08-31 12:49:57 +00:00
refactor: use default qml library paths
previous implementation stores data in share instead of lib (I guess, I had issues with using default paths?). Let's use normal paths instead
This commit is contained in:
@ -1,12 +1,7 @@
|
||||
set(SUBPROJECT awesomewidgets-qml)
|
||||
message(STATUS "Subproject ${SUBPROJECT}")
|
||||
|
||||
file(GLOB SUBPROJECT_SOURCE *.qml)
|
||||
file(GLOB SUBPROJECT_QMLDIR_IN qmldir.in)
|
||||
|
||||
# prepare
|
||||
configure_file(${SUBPROJECT_QMLDIR_IN} ${CMAKE_CURRENT_SOURCE_DIR}/../awesome-widget/package/contents/ui/qmldir)
|
||||
configure_file(${SUBPROJECT_QMLDIR_IN} ${CMAKE_CURRENT_SOURCE_DIR}/../desktop-panel/package/contents/ui/qmldir)
|
||||
file(GLOB SUBPROJECT_SOURCE *.qml qmldir)
|
||||
|
||||
# install
|
||||
install(FILES ${SUBPROJECT_SOURCE} DESTINATION ${KDE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/qml)
|
||||
install(FILES ${SUBPROJECT_SOURCE} DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/${PROJECT_NAME})
|
||||
|
Reference in New Issue
Block a user