Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma applet for NetworkManager
Commits
c64ed449
Commit
c64ed449
authored
Jan 30, 2021
by
Nicolas Fella
Browse files
Use versionless Qt cmake target
This makes it easier to build against both Qt5 and Qt6 GIT_SILENT
parent
e18bf6c7
Changes
7
Hide whitespace changes
Inline
Side-by-side
kcm/CMakeLists.txt
View file @
c64ed449
...
...
@@ -21,8 +21,8 @@ target_link_libraries(kcm_networkmanagement
KF5::Declarative
KF5::I18n
KF5::Service
Qt
5
::Quick
Qt
5
::QuickWidgets
Qt::Quick
Qt::QuickWidgets
)
install
(
TARGETS kcm_networkmanagement DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
...
...
libs/declarative/CMakeLists.txt
View file @
c64ed449
...
...
@@ -14,7 +14,7 @@ add_library(plasmanm_qmlplugins SHARED ${plasmanm_qml_plugins_SRCS})
target_link_libraries
(
plasmanm_qmlplugins
plasmanm_internal
plasmanm_editor
Qt
5
::Quick
Qt::Quick
KF5::I18n
)
...
...
libs/editor/CMakeLists.txt
View file @
c64ed449
...
...
@@ -97,15 +97,15 @@ PUBLIC
KF5::Completion
KF5::NetworkManagerQt
KF5::WidgetsAddons
Qt
5
::Widgets
Qt::Widgets
PRIVATE
KF5::I18n
KF5::KIOWidgets
KF5::Notifications
KF5::Solid
KF5::Wallet
Qt
5
::DBus
Qt
5
::Network
Qt::DBus
Qt::Network
qca-qt5
)
...
...
mobile/hotspot/CMakeLists.txt
View file @
c64ed449
...
...
@@ -3,8 +3,8 @@ set (hotspotsettings_SRCS hotspotsettings.cpp)
add_library
(
kcm_mobile_hotspot MODULE
${
hotspotsettings_SRCS
}
)
target_link_libraries
(
kcm_mobile_hotspot
Qt
5
::Quick
Qt
5
::Qml
Qt::Quick
Qt::Qml
KF5::I18n
KF5::CoreAddons
KF5::QuickAddons
...
...
mobile/wifi/CMakeLists.txt
View file @
c64ed449
...
...
@@ -5,10 +5,10 @@ set (wifisettings_SRCS wifisettings.cpp)
add_library
(
kcm_mobile_wifi MODULE
${
wifisettings_SRCS
}
)
target_link_libraries
(
kcm_mobile_wifi
Qt
5
::DBus
Qt
5
::Gui
Qt
5
::Quick
Qt
5
::Qml
Qt::DBus
Qt::Gui
Qt::Quick
Qt::Qml
KF5::I18n
KF5::NetworkManagerQt
KF5::Plasma
...
...
tests/CMakeLists.txt
View file @
c64ed449
...
...
@@ -9,15 +9,15 @@ set_package_properties(Qt5Test PROPERTIES PURPOSE "Required for autotests")
ecm_add_test
(
simpleipv6test.cpp
LINK_LIBRARIES Qt
5
::Test plasmanm_editor
LINK_LIBRARIES Qt::Test plasmanm_editor
)
ecm_add_test
(
simpleipv4test.cpp
LINK_LIBRARIES Qt
5
::Test plasmanm_editor
LINK_LIBRARIES Qt::Test plasmanm_editor
)
ecm_add_test
(
simpleiplisttest.cpp
LINK_LIBRARIES Qt
5
::Test plasmanm_editor
LINK_LIBRARIES Qt::Test plasmanm_editor
)
vpn/openconnect/CMakeLists.txt
View file @
c64ed449
...
...
@@ -51,7 +51,7 @@ if (OPENCONNECT_FOUND)
KF5::I18n
KF5::KIOWidgets
KF5::WidgetsAddons
Qt
5
::Xml
Qt::Xml
${
OPENCONNECT_LIBRARIES
}
${
maybe_OPENSSL_LIBRARIES
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment