-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
50 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,27 @@ | ||
# SPDX-License-Identifier: BSD-2-Clause | ||
# SPDX-FileCopyrightText: 2023 Kai Uwe Broulik <ghqalpha@broulik.de> | ||
|
||
kcoreaddons_add_plugin(kcm_qalphacloud SOURCES | ||
if(QT_MAJOR_VERSION STREQUAL "6") | ||
kcmutils_add_qml_kcm(kcm_qalphacloud | ||
DISABLE_DESKTOP_FILE_GENERATION | ||
|
||
SOURCES | ||
kcm.cpp | ||
kcm.h | ||
|
||
INSTALL_NAMESPACE | ||
"plasma/kcms/kinfocenter" | ||
) | ||
plasma/kcms/kinfocenter | ||
) | ||
|
||
target_link_libraries(kcm_qalphacloud KF6::KCMUtilsQuick) | ||
else() | ||
kcoreaddons_add_plugin(kcm_qalphacloud SOURCES | ||
kcm.cpp | ||
kcm.h | ||
) | ||
|
||
target_link_libraries(kcm_qalphacloud | ||
KF${QT_MAJOR_VERSION}::QuickAddons | ||
QAlphaCloud | ||
) | ||
target_link_libraries(kcm_qalphacloud KF5::QuickAddons) | ||
endif() | ||
|
||
target_link_libraries(kcm_qalphacloud QAlphaCloud) | ||
kpackage_install_package(package kcm_qalphacloud kcms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters