From 3a0a9d83fa22a0a3037f4193325fa1bcb3c8e3f4 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Thu, 23 Jul 2015 00:23:47 +0200 Subject: [PATCH] Fixing syntax error --- drivers/gr-gn3s/cmake/Modules/FindUSB.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gr-gn3s/cmake/Modules/FindUSB.cmake b/drivers/gr-gn3s/cmake/Modules/FindUSB.cmake index 833bf94ca..f40d65ab0 100644 --- a/drivers/gr-gn3s/cmake/Modules/FindUSB.cmake +++ b/drivers/gr-gn3s/cmake/Modules/FindUSB.cmake @@ -5,11 +5,11 @@ find_path(USB_INCLUDE_DIR NAMES usb.h /usr/local/include ) -if(NOT USB_INCLUDE_DIR_FOUND) +if(NOT USB_INCLUDE_DIR) message(STATUS "libusb has not been found.") message(STATUS "You can install it by 'sudo apt-get install libusb-dev' ") message(FATAL_ERROR "libusb is required for building gr-gn3s") -endif(NOT USB_INCLUDE_DIR_FOUND) +endif(NOT USB_INCLUDE_DIR) INCLUDE(FindPkgConfig)