kde-workspace/libs/ksysguard/ksgrd/CMakeLists.txt
Ivailo Monev 591b538337 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:13:13 +00:00

27 lines
704 B
CMake

########### next target ###############
set(ksgrd_LIB_SRCS
SensorAgent.cpp
SensorManager.cpp
SensorShellAgent.cpp
SensorSocketAgent.cpp
)
add_library(ksgrd SHARED ${ksgrd_LIB_SRCS})
target_link_libraries(ksgrd ${KDE4_KDECORE_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} )
set_target_properties(ksgrd PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
install(TARGETS ksgrd EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
########### install files ###############
install(FILES SensorAgent.h SensorClient.h SensorManager.h SensorShellAgent.h SensorSocketAgent.h DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksgrd COMPONENT Devel)