Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 4d58a4ea8d
)
pull/478/head
parent
f3f71a018f
commit
d984205f2e
@ -0,0 +1,21 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2023 DilOS Team
|
||||||
|
# denis (AT) tambov (DOT) ru
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
# devinfo
|
||||||
|
check_library_exists( devinfo di_init "" HAVE_DEVINFO )
|
||||||
|
if( HAVE_DEVINFO )
|
||||||
|
set( DEVINFO_LIBRARIES devinfo )
|
||||||
|
else()
|
||||||
|
if( ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" )
|
||||||
|
tde_message_fatal( "libdevinfo not found on SunOS platform!" )
|
||||||
|
endif()
|
||||||
|
set( DEVINFO_LIBRARIES "" )
|
||||||
|
endif( )
|
@ -0,0 +1,25 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2023 Denis Kozadaev
|
||||||
|
# denis (AT) tambov (DOT) ru
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}/ksysguard/CContLib
|
||||||
|
${CMAKE_SOURCE_DIR}/ksysguard/ksysguardd
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### ksysguardd (static) #######################
|
||||||
|
|
||||||
|
tde_add_library( ksysguardd STATIC
|
||||||
|
SOURCES
|
||||||
|
Memory.c LoadAvg.c ProcessList.c NetDev.c
|
||||||
|
)
|
Loading…
Reference in new issue