diff options
author | OBATA Akio <[email protected]> | 2019-04-06 16:49:26 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-08-18 15:36:50 +0200 |
commit | 4741832142e091d641fb8a90607b4595accb905d (patch) | |
tree | 31f31b6389635adc523c7a33f873a9562e1adadb /kicker/applets/naughty/CMakeLists.txt | |
parent | 0aaebc24cd00c9dd833c16dd14d1814948baac38 (diff) | |
download | tdebase-4741832142e091d641fb8a90607b4595accb905d.tar.gz tdebase-4741832142e091d641fb8a90607b4595accb905d.zip |
Revive NetBSD support
Catch up to TDE and OS changes
Signed-off-by: OBATA Akio <[email protected]>
(cherry picked from commit 2a88ec3c02ab46c8b816cfa348ea53075f57a59c)
Diffstat (limited to 'kicker/applets/naughty/CMakeLists.txt')
-rw-r--r-- | kicker/applets/naughty/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kicker/applets/naughty/CMakeLists.txt b/kicker/applets/naughty/CMakeLists.txt index 6f6b9d47a..b4fdcc9b0 100644 --- a/kicker/applets/naughty/CMakeLists.txt +++ b/kicker/applets/naughty/CMakeLists.txt @@ -11,6 +11,12 @@ # FIXME seems that on freebsd is needed smth named LIB_KVM +if ( ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD" ) + set( LIB_KVM "-lkvm") +else() + set( LIB_KVM "") +endif() + include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/kicker/libkicker @@ -35,6 +41,6 @@ tde_add_kpart( naughty_panelapplet AUTOMOC SOURCES NaughtyProcessMonitor.cpp NaughtyConfigDialog.cpp NaughtyApplet.cpp - LINK kickermain-shared + LINK kickermain-shared ${LIB_KVM} DESTINATION ${PLUGIN_INSTALL_DIR} ) |