diff --git a/ksysguard/ksysguardd/CMakeLists.txt b/ksysguard/ksysguardd/CMakeLists.txt index 9ec73cc93..efb4c9660 100644 --- a/ksysguard/ksysguardd/CMakeLists.txt +++ b/ksysguard/ksysguardd/CMakeLists.txt @@ -15,6 +15,8 @@ include( ConfigureChecks.cmake ) if( ${CMAKE_SYSTEM_NAME} MATCHES "Linux" ) set( OS_SPECIFIC_DIR Linux ) +elseif( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" ) + set( OS_SPECIFIC_DIR OpenBSD ) else() tde_message_fatal( "Your operating system (${CMAKE_SYSTEM_NAME}) is not supported yet." ) endif() diff --git a/ksysguard/ksysguardd/OpenBSD/CMakeLists.txt b/ksysguard/ksysguardd/OpenBSD/CMakeLists.txt new file mode 100644 index 000000000..9f856d3d1 --- /dev/null +++ b/ksysguard/ksysguardd/OpenBSD/CMakeLists.txt @@ -0,0 +1,25 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# 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 +)