From 46b20a55775c6c44591ff2d2d423399887ebc806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 12 Jun 2015 02:56:58 +0200 Subject: Fix FTBFS on freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 08122b137e76ffcf7067f634a7668002732e11d9) --- ksysguard/ksysguardd/CMakeLists.txt | 2 ++ ksysguard/ksysguardd/FreeBSD/CMakeLists.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 ksysguard/ksysguardd/FreeBSD/CMakeLists.txt (limited to 'ksysguard/ksysguardd') diff --git a/ksysguard/ksysguardd/CMakeLists.txt b/ksysguard/ksysguardd/CMakeLists.txt index efb4c9660..58c5f2399 100644 --- a/ksysguard/ksysguardd/CMakeLists.txt +++ b/ksysguard/ksysguardd/CMakeLists.txt @@ -17,6 +17,8 @@ if( ${CMAKE_SYSTEM_NAME} MATCHES "Linux" ) set( OS_SPECIFIC_DIR Linux ) elseif( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" ) set( OS_SPECIFIC_DIR OpenBSD ) +elseif( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" ) + set( OS_SPECIFIC_DIR FreeBSD ) else() tde_message_fatal( "Your operating system (${CMAKE_SYSTEM_NAME}) is not supported yet." ) endif() diff --git a/ksysguard/ksysguardd/FreeBSD/CMakeLists.txt b/ksysguard/ksysguardd/FreeBSD/CMakeLists.txt new file mode 100644 index 000000000..b99088d1a --- /dev/null +++ b/ksysguard/ksysguardd/FreeBSD/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (C) 2015 Serghei Amelian +# slavek (DOT) banko (AT) axis.cz +# +# 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 + CPU.c Memory.c ProcessList.c apm.c diskstat.c loadavg.c logfile.c netdev.c + LINK kvm +) -- cgit v1.2.1