diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-20 01:23:31 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-20 01:23:31 -0800 |
commit | 47c92a2ac68fbae59c02f3e2a322cabda499c13b (patch) | |
tree | 7cc4a4918b1feb09531607bfe22e976228034a70 /host/lib/usrp/usrp1 | |
parent | 91e090295c8c623b73e20a4d217601c4453650a8 (diff) | |
download | uhd-47c92a2ac68fbae59c02f3e2a322cabda499c13b.tar.gz uhd-47c92a2ac68fbae59c02f3e2a322cabda499c13b.tar.bz2 uhd-47c92a2ac68fbae59c02f3e2a322cabda499c13b.zip |
uhd: implemented top-level component registry
now docs, examples, utils, usb, are configurable components with dependencies
Diffstat (limited to 'host/lib/usrp/usrp1')
-rw-r--r-- | host/lib/usrp/usrp1/CMakeLists.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/host/lib/usrp/usrp1/CMakeLists.txt b/host/lib/usrp/usrp1/CMakeLists.txt index 8b6ba78d2..13db50790 100644 --- a/host/lib/usrp/usrp1/CMakeLists.txt +++ b/host/lib/usrp/usrp1/CMakeLists.txt @@ -20,12 +20,7 @@ ######################################################################## # Conditionally configure the USRP1 support ######################################################################## -LIBUHD_REGISTER_COMPONENT("USRP1" ENABLE_USRP1 ${HAVE_USB_SUPPORT}) - -#sanity check when USRP1 support enabled -IF(ENABLE_USRP1 AND NOT HAVE_USB_SUPPORT) - MESSAGE(FATAL_ERROR "USRP1 support enabled without USB support") -ENDIF(ENABLE_USRP1 AND NOT HAVE_USB_SUPPORT) +LIBUHD_REGISTER_COMPONENT("USRP1" ENABLE_USRP1 ON "ENABLE_LIBUHD;ENABLE_USB" OFF) IF(ENABLE_USRP1) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/../firmware/fx2/common) |