From b8bdbc51312b1a1cf80dbc251a8ebb537ac9d5a9 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Tue, 30 Apr 2013 10:40:14 -0700 Subject: Minor changes for Debian package compliance * Made CMake script to find libusb-1.0 stronger * Added Debian watchfile --- host/cmake/Modules/FindUSB1.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/cmake/Modules') diff --git a/host/cmake/Modules/FindUSB1.cmake b/host/cmake/Modules/FindUSB1.cmake index 8bfc2f975..21005344b 100644 --- a/host/cmake/Modules/FindUSB1.cmake +++ b/host/cmake/Modules/FindUSB1.cmake @@ -22,7 +22,7 @@ FIND_PATH(LIBUSB_INCLUDE_DIRS set(libusb1_library_names usb-1.0) #libusb-1.0 compatible library on freebsd -if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") +if((CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") OR (CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD")) list(APPEND libusb1_library_names usb) endif() -- cgit v1.2.3