diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-06-12 02:55:15 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-06-12 02:55:15 +0200 |
commit | e1d8ccc637042d5ab84b0d532590f4cf8ef8e567 (patch) | |
tree | b4a8621fec839887c5fc841e2e43bb63947d97c7 /kcontrol/usbview/CMakeLists.txt | |
parent | da25462d268fc49751fc3617b49fa8b4742dad15 (diff) | |
download | tdebase-e1d8ccc637042d5ab84b0d532590f4cf8ef8e567.tar.gz tdebase-e1d8ccc637042d5ab84b0d532590f4cf8ef8e567.zip |
Fix build with libusb 2.0 on freebsd
[taken from FreeBSD kdebase3 patches]
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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( ) |