diff options
author | Josh Blum <josh@joshknows.com> | 2013-03-11 17:49:48 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-03-11 17:49:48 -0700 |
commit | cec4a61bef8e992aab80ab92397825f26f8e349a (patch) | |
tree | 755d086e0f8f386ce0a1e27349008fa772c94db1 /host/cmake/Modules | |
parent | d39020b2364ef9fd17d51208fd94f025ed769e04 (diff) | |
download | uhd-cec4a61bef8e992aab80ab92397825f26f8e349a.tar.gz uhd-cec4a61bef8e992aab80ab92397825f26f8e349a.tar.bz2 uhd-cec4a61bef8e992aab80ab92397825f26f8e349a.zip |
usb: added C enable for libusb check
Diffstat (limited to 'host/cmake/Modules')
-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}) |