aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-03-11 09:19:20 -0700
committerMartin Braun <martin.braun@ettus.com>2015-03-11 09:19:20 -0700
commit7a2eaa10c629bf4369434cf6dd9c67eca2877e89 (patch)
tree99bba3e1b54e77af1902e8eac2f74b43b212c655 /host/utils
parenta55b5a097da01606f23209713bf1ce754be5b7d3 (diff)
parente65b2d66434d682731d9039b2d3200235acd38ee (diff)
downloaduhd-7a2eaa10c629bf4369434cf6dd9c67eca2877e89.tar.gz
uhd-7a2eaa10c629bf4369434cf6dd9c67eca2877e89.tar.bz2
uhd-7a2eaa10c629bf4369434cf6dd9c67eca2877e89.zip
Merge branch 'maint'
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/CMakeLists.txt17
1 files changed, 11 insertions, 6 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
index 3db28fa3c..ed8640187 100644
--- a/host/utils/CMakeLists.txt
+++ b/host/utils/CMakeLists.txt
@@ -65,14 +65,19 @@ SET(util_share_sources
IF(ENABLE_USB)
LIST(APPEND util_share_sources
fx2_init_eeprom.cpp
- b2xx_fx3_utils.cpp
)
INCLUDE_DIRECTORIES(${LIBUSB_INCLUDE_DIRS})
- # Additional include directories for b2xx_fx3_utils
- INCLUDE_DIRECTORIES(
- ${CMAKE_CURRENT_SOURCE_DIR}/../lib/usrp/b200
- ${CMAKE_CURRENT_SOURCE_DIR}/../lib/usrp/common
- ${CMAKE_CURRENT_SOURCE_DIR}/../lib/usrp/common/ad9361_driver)
+ IF(ENABLE_B200)
+ LIST(APPEND util_share_sources
+ b2xx_fx3_utils.cpp
+ )
+ # Additional include directories for b2xx_fx3_utils
+ INCLUDE_DIRECTORIES(
+ ${CMAKE_CURRENT_SOURCE_DIR}/../lib/usrp/b200
+ ${CMAKE_CURRENT_SOURCE_DIR}/../lib/usrp/common
+ ${CMAKE_CURRENT_SOURCE_DIR}/../lib/usrp/common/ad9361_driver
+ )
+ ENDIF(ENABLE_B200)
ENDIF(ENABLE_USB)
IF(ENABLE_OCTOCLOCK)
LIST(APPEND util_share_sources