diff options
author | Slávek Banko <[email protected]> | 2015-06-12 02:55:15 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-06-12 03:00:26 +0200 |
commit | 32eee8cad4fd7bf38b98e5c8db0455bed75e03bc (patch) | |
tree | 7e87005cd086363688f1d24f9ea3d7dedf752e72 /kcontrol/usbview/CMakeLists.txt | |
parent | 5c031202ddedf63416cf20cb4ad4618a00fe5a25 (diff) | |
download | tdebase-32eee8cad4fd7bf38b98e5c8db0455bed75e03bc.tar.gz tdebase-32eee8cad4fd7bf38b98e5c8db0455bed75e03bc.zip |
Fix build with libusb 2.0 on freebsd
[taken from FreeBSD kdebase3 patches]
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit e1d8ccc637042d5ab84b0d532590f4cf8ef8e567)
Diffstat (limited to 'kcontrol/usbview/CMakeLists.txt')
-rw-r--r-- | kcontrol/usbview/CMakeLists.txt | 4 |
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( ) |