aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-08-11 10:51:23 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2015-08-11 10:51:23 -0700
commit0dbaf46b5cac9179312c0e9c00e9cc1462322d66 (patch)
tree4ce140ad87238bc87c84169fd70d1a56953a4f09 /host/lib/transport
parent28327c8e8a810b19da126116d0dc4c26b643baed (diff)
downloaduhd-0dbaf46b5cac9179312c0e9c00e9cc1462322d66.tar.gz
uhd-0dbaf46b5cac9179312c0e9c00e9cc1462322d66.tar.bz2
uhd-0dbaf46b5cac9179312c0e9c00e9cc1462322d66.zip
cmake: added variable to LIBUHD_REGISTER_COMPONENT macro to make required, set LibUHD to required
* If required component's dependencies aren't met, CMake will throw an error unless user specifically disables it
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/CMakeLists.txt b/host/lib/transport/CMakeLists.txt
index 9ec8a5c0b..6abc399b4 100644
--- a/host/lib/transport/CMakeLists.txt
+++ b/host/lib/transport/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright 2010-2013 Ettus Research LLC
+# Copyright 2010-2013,2015 Ettus Research LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ INCLUDE_SUBDIRECTORY(nirio)
MESSAGE(STATUS "")
FIND_PACKAGE(USB1)
-LIBUHD_REGISTER_COMPONENT("USB" ENABLE_USB ON "ENABLE_LIBUHD;LIBUSB_FOUND" OFF)
+LIBUHD_REGISTER_COMPONENT("USB" ENABLE_USB ON "ENABLE_LIBUHD;LIBUSB_FOUND" OFF OFF)
IF(ENABLE_USB)
MESSAGE(STATUS "USB support enabled via libusb.")