diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/cmake/Modules/FindUSB1.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
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}) |