Commit a1229e49 authored by David Edmundson's avatar David Edmundson

Rename binary kstats as it causes a conflict with other packages

BUG: 421532
parent ac98b9b4
......@@ -84,7 +84,7 @@ add_subdirectory( example )
add_subdirectory( ksysguardd )
add_subdirectory(kstats)
add_subdirectory(ksystemstats)
add_subdirectory(libkstats)
add_subdirectory( plugins )
......
......@@ -7,15 +7,15 @@ set_source_files_properties("ksysguard_iface.xml"
PROPERTIES INCLUDE "../ksysguard-backend/types.h" )
qt5_add_dbus_adaptor(SOURCES "ksysguard_iface.xml" ksysguarddaemon.h KSysGuardDaemon)
add_library(kstats_core STATIC ${SOURCES})
target_link_libraries(kstats_core PUBLIC Qt5::Core Qt5::DBus KF5::CoreAddons KSysGuard::StatsBackend )
add_library(ksystemstats_core STATIC ${SOURCES})
target_link_libraries(ksystemstats_core PUBLIC Qt5::Core Qt5::DBus KF5::CoreAddons KSysGuard::StatsBackend )
add_executable(kstats main.cpp)
target_link_libraries(kstats kstats_core)
add_executable(ksystemstats main.cpp)
target_link_libraries(ksystemstats ksystemstats_core)
install(TARGETS kstats DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS ksystemstats DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
kdbusaddons_generate_dbus_service_file(kstats org.kde.kstats ${KDE_INSTALL_FULL_BINDIR})
kdbusaddons_generate_dbus_service_file(ksystemstats org.kde.ksystemstats ${KDE_INSTALL_FULL_BINDIR})
add_subdirectory(test)
......
......@@ -10,6 +10,6 @@ qt5_add_dbus_interface(SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../ksysguard_iface.x
ecm_add_test(
${SOURCES}
TEST_NAME kstatstest
LINK_LIBRARIES Qt5::Test kstats_core
TEST_NAME ksystemstatstest
LINK_LIBRARIES Qt5::Test ksystemstats_core
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment