diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-11-16 15:21:42 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-11-16 15:21:44 -0800 |
commit | 3f1d0fb1bd597ea41d52828a9380fccdc06314bf (patch) | |
tree | 900cc1400470c3b4f2fc51d3af9de4c4dddd2d99 /host/lib/usrp/b200/CMakeLists.txt | |
parent | 88b0baeaf6dfa5f62f99ad53680108183ccc8721 (diff) | |
download | uhd-3f1d0fb1bd597ea41d52828a9380fccdc06314bf.tar.gz uhd-3f1d0fb1bd597ea41d52828a9380fccdc06314bf.tar.bz2 uhd-3f1d0fb1bd597ea41d52828a9380fccdc06314bf.zip |
cmake: Register components earlier
All device-specific CMake components are now registered in one place,
before the host/lib/ subdirs are sourced. This way, there are no
cyclic dependencies.
This solves the issue where ENABLE_X300=Off could disable USB, but
preserves the fix where ENABLE_X300=Off would still build some X300
codes.
Diffstat (limited to 'host/lib/usrp/b200/CMakeLists.txt')
-rw-r--r-- | host/lib/usrp/b200/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/host/lib/usrp/b200/CMakeLists.txt b/host/lib/usrp/b200/CMakeLists.txt index 76710dc65..4b9e2de55 100644 --- a/host/lib/usrp/b200/CMakeLists.txt +++ b/host/lib/usrp/b200/CMakeLists.txt @@ -22,8 +22,6 @@ ######################################################################## # Conditionally configure the B200 support ######################################################################## -LIBUHD_REGISTER_COMPONENT("B200" ENABLE_B200 ON "ENABLE_LIBUHD;ENABLE_USB" OFF OFF) - IF(ENABLE_B200) LIBUHD_APPEND_SOURCES( ${CMAKE_CURRENT_SOURCE_DIR}/b200_image_loader.cpp |