summaryrefslogtreecommitdiffstats
path: root/kcontrol/usbview/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/usbview/CMakeLists.txt')
-rw-r--r--kcontrol/usbview/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/kcontrol/usbview/CMakeLists.txt b/kcontrol/usbview/CMakeLists.txt
index a55aacbd7..1584d0699 100644
--- a/kcontrol/usbview/CMakeLists.txt
+++ b/kcontrol/usbview/CMakeLists.txt
@@ -40,3 +40,7 @@ tde_add_kpart( kcm_usb AUTOMOC
LINK tdeui-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
+
+if( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" )
+ target_link_libraries( kcm_usb-module ${LIBUSB_LIBRARIES} )
+endif( )