Skip to content

Commit

Permalink
Fix device and notifications QML plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
plfiorini committed Dec 31, 2023
1 parent 19504dd commit 34d14e3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 48 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ endif()
if(TARGET Liri::DBusService)
add_subdirectory(src/imports/dbusservice)
endif()
if(TARGET Liri::LocalDevice)
add_subdirectory(src/imports/device)
endif()
if(TARGET Liri::Notifications)
add_subdirectory(src/imports/notifications)
endif()
if(BUILD_TESTING)
if(TARGET Liri::Models)
add_subdirectory(tests/auto/core)
Expand Down
19 changes: 0 additions & 19 deletions src/imports/device/CMakeLists.txt

This file was deleted.

19 changes: 0 additions & 19 deletions src/imports/notifications/CMakeLists.txt

This file was deleted.

10 changes: 8 additions & 2 deletions src/localdevice/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023 Pier Luigi Fiorini <[email protected]>
# SPDX-FileCopyrightText: 2024 Pier Luigi Fiorini <[email protected]>
# SPDX-License-Identifier: BSD-3-Clause

liri_add_module(LocalDevice
Expand All @@ -19,5 +19,11 @@ liri_add_module(LocalDevice
Qt6DBus
Qt6Qml
)

liri_finalize_module(LocalDevice)

ecm_add_qml_module(LocalDevice
URI Liri.Device
VERSION 1.0
GENERATE_PLUGIN_SOURCE
)
ecm_finalize_qml_module(LocalDevice)
10 changes: 8 additions & 2 deletions src/notifications/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023 Pier Luigi Fiorini <[email protected]>
# SPDX-FileCopyrightText: 2024 Pier Luigi Fiorini <[email protected]>
# SPDX-License-Identifier: BSD-3-Clause

set(SOURCES
Expand Down Expand Up @@ -26,5 +26,11 @@ liri_add_module(Notifications
Qt6QmlIntegration
Qt6Gui
)

liri_finalize_module(Notifications)

ecm_add_qml_module(Notifications
URI Liri.Notifications
VERSION 1.0
GENERATE_PLUGIN_SOURCE
)
ecm_finalize_qml_module(Notifications)

0 comments on commit 34d14e3

Please sign in to comment.