aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-04 16:34:24 -0700
committerJosh Blum <josh@joshknows.com>2010-10-04 16:34:24 -0700
commit50ff7e4d3bf4e196b4c054821f67f8d1bff5203b (patch)
treefe6b7e6d488cffe1648cbd8fb91bd35bb7aaf5d0 /host/lib/transport/CMakeLists.txt
parentc2dc0fe98ddc6441cb989a49384b0c305a955368 (diff)
downloaduhd-50ff7e4d3bf4e196b4c054821f67f8d1bff5203b.tar.gz
uhd-50ff7e4d3bf4e196b4c054821f67f8d1bff5203b.tar.bz2
uhd-50ff7e4d3bf4e196b4c054821f67f8d1bff5203b.zip
usb: added dummy usb implementation for building without usb (throw, not segfault)
Diffstat (limited to 'host/lib/transport/CMakeLists.txt')
-rw-r--r--host/lib/transport/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/transport/CMakeLists.txt b/host/lib/transport/CMakeLists.txt
index bf92b0822..b9ec7a6ad 100644
--- a/host/lib/transport/CMakeLists.txt
+++ b/host/lib/transport/CMakeLists.txt
@@ -37,7 +37,9 @@ IF(LIBUSB_FOUND)
ENDIF(MSVC)
SET(HAVE_USB_SUPPORT TRUE)
ELSE(LIBUSB_FOUND)
- #TODO dummy usb
+ LIBUHD_APPEND_SOURCES(
+ ${CMAKE_SOURCE_DIR}/lib/transport/usb_dummy_impl.cpp
+ )
ENDIF(LIBUSB_FOUND)
IF(HAVE_USB_SUPPORT)