Commit c3d58abe authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

fix show headers in qtc6

parent a835d3e4
Pipeline #143365 passed with stage
in 1 minute and 42 seconds
......@@ -27,7 +27,7 @@ ecm_qt_declare_logging_category(faces_LIB_SRCS
set_source_files_properties(org.kde.KSysGuardDaemon.xml PROPERTIES INCLUDE SensorInfo_p.h)
add_library(SensorFaces ${faces_LIB_SRCS})
add_library(SensorFaces ${faces_LIB_SRCS} ${faces_LIB_HEADERS})
add_library(KSysGuard::SensorFaces ALIAS SensorFaces)
target_include_directories(SensorFaces
......
include_directories(${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/..)
add_library(FacesPlugin SHARED FacesPlugin.cpp)
add_library(FacesPlugin SHARED FacesPlugin.cpp FacesPlugin.h)
target_link_libraries(FacesPlugin Qt::Qml KSysGuard::Sensors KSysGuard::SensorFaces KF5::Package KF5::ConfigCore KF5::ConfigGui KF5::ConfigQml)
......
......@@ -18,7 +18,7 @@ ecm_qt_declare_logging_category(formatter_SRCS
DESCRIPTION "libksysguard (formatter)" EXPORT LIBKSYSGUARD
)
add_library(Formatter ${formatter_SRCS})
add_library(Formatter ${formatter_SRCS} ${formatter_HDRS})
add_library(KSysGuard::Formatter ALIAS Formatter)
target_link_libraries(Formatter
......
......@@ -10,13 +10,21 @@ set(ksgrd_LIB_SRCS
SensorSocketAgent.cpp
)
set(ksgrd_LIB_HEADERS
SensorAgent.h
SensorClient.h
SensorManager.h
SensorShellAgent.h
SensorSocketAgent.h
)
ecm_qt_declare_logging_category(ksgrd_LIB_SRCS HEADER ksgrd_debug.h IDENTIFIER LIBKSYSGUARD_KSGRD CATEGORY_NAME org.kde.libksysguard.ksgrd
DESCRIPTION "libksysguard (ksgrd)" EXPORT LIBKSYSGUARD)
add_definitions(-DTRANSLATION_DOMAIN=\"ksgrd\")
remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS)
add_library(ksgrd ${ksgrd_LIB_SRCS})
add_library(ksgrd ${ksgrd_LIB_SRCS} ${ksgrd_LIB_HEADERS})
add_library(KSysGuard::SysGuard ALIAS ksgrd)
target_include_directories(ksgrd
PUBLIC
......@@ -43,11 +51,7 @@ set_target_properties(ksgrd PROPERTIES
install(TARGETS ksgrd EXPORT libksysguardLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install(FILES
SensorAgent.h
SensorClient.h
SensorManager.h
SensorShellAgent.h
SensorSocketAgent.h
${ksgrd_LIB_HEADERS}
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/ksysguard/ksgrd
COMPONENT Devel
)
......
......@@ -3,6 +3,7 @@
set(lsofui_LIB_SRCS
lsof.cpp
lsof.h
)
ki18n_wrap_ui( lsofui_LIB_SRCS
......
Supports Markdown
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