D29302: Use KSysGuard namespace for KSysGuard library targets
Konrad Materka
noreply at phabricator.kde.org
Thu May 7 22:38:47 BST 2020
kmaterka added a comment.
With this change, plasma-workspace fails to build on my system (Neon User, kdesrc-build)
Error message:
CMake Warning at /home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:27 (message):
The KF5:: namespace for KSysGuard targets is deprecated. Please use
KSysGuard as namespace.
Call Stack (most recent call first):
/home/konrad/kde/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
CMakeLists.txt:55 (find_package)
CMake Error at /home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:34 (add_library):
add_library cannot create ALIAS target "KF5::SysGuard" because target
"KSysGuard::SysGuard" is IMPORTED.
Call Stack (most recent call first):
/home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:37 (add_sysguard_target)
/home/konrad/kde/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
CMakeLists.txt:55 (find_package)
CMake Error at /home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:34 (add_library):
add_library cannot create ALIAS target "KF5::ProcessCore" because target
"KSysGuard::ProcessCore" is IMPORTED.
Call Stack (most recent call first):
/home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:38 (add_sysguard_target)
/home/konrad/kde/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
CMakeLists.txt:55 (find_package)
CMake Error at /home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:34 (add_library):
add_library cannot create ALIAS target "KF5::ProcessUi" because target
"KSysGuard::ProcessUi" is IMPORTED.
Call Stack (most recent call first):
/home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:39 (add_sysguard_target)
/home/konrad/kde/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
CMakeLists.txt:55 (find_package)
CMake Error at /home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:34 (add_library):
add_library cannot create ALIAS target "KF5::LsofUi" because target
"KSysGuard::LsofUi" is IMPORTED.
Call Stack (most recent call first):
/home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:40 (add_sysguard_target)
/home/konrad/kde/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
CMakeLists.txt:55 (find_package)
CMake Error at /home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:34 (add_library):
add_library cannot create ALIAS target "KF5::SignalPlotter" because target
"KSysGuard::SignalPlotter" is IMPORTED.
Call Stack (most recent call first):
/home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake:41 (add_sysguard_target)
/home/konrad/kde/usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
CMakeLists.txt:55 (find_package)
-- Found KF5SysGuard: /home/konrad/kde/usr/lib/x86_64-linux-gnu/cmake/KF5SysGuard/KF5SysGuardConfig.cmake
REPOSITORY
R111 KSysguard Library
REVISION DETAIL
https://phabricator.kde.org/D29302
To: ahiemstra, #plasma, davidedmundson
Cc: kmaterka, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200507/3566253a/attachment.htm>
More information about the Plasma-devel
mailing list