From cec4a61bef8e992aab80ab92397825f26f8e349a Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 11 Mar 2013 17:49:48 -0700 Subject: usb: added C enable for libusb check --- host/cmake/Modules/FindUSB1.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/host/cmake/Modules/FindUSB1.cmake b/host/cmake/Modules/FindUSB1.cmake index 33ac891bc..626d06cc1 100644 --- a/host/cmake/Modules/FindUSB1.cmake +++ b/host/cmake/Modules/FindUSB1.cmake @@ -32,6 +32,7 @@ FIND_LIBRARY(LIBUSB_LIBRARIES PATHS /usr/local/lib /usr/lib /opt/local/lib ) +enable_language(C) #needs C support for check below include(CheckFunctionExists) if(LIBUSB_INCLUDE_DIRS) set(CMAKE_REQUIRED_INCLUDES ${LIBUSB_INCLUDE_DIRS}) -- cgit v1.2.3