summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-04-04 16:09:02 -0700
committerJosh Blum <josh@joshknows.com>2011-04-04 16:09:02 -0700
commit1ba366a94ef70980fb5db5dd0142c3d3596ef9aa (patch)
treea4789e0940a2e84ef34d5ad4461681a778bc553e
parent7cd216e967161a0d3a4d7b9bc03583d270ce4de3 (diff)
downloaduhd-1ba366a94ef70980fb5db5dd0142c3d3596ef9aa.tar.gz
uhd-1ba366a94ef70980fb5db5dd0142c3d3596ef9aa.tar.bz2
uhd-1ba366a94ef70980fb5db5dd0142c3d3596ef9aa.zip
usb: newer libusb1 does not need to link with setupapi.lib
-rw-r--r--host/lib/transport/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/transport/CMakeLists.txt b/host/lib/transport/CMakeLists.txt
index a7179d561..a5bf9c5f1 100644
--- a/host/lib/transport/CMakeLists.txt
+++ b/host/lib/transport/CMakeLists.txt
@@ -31,10 +31,6 @@ IF(ENABLE_USB)
MESSAGE(STATUS "USB support enabled via libusb.")
INCLUDE_DIRECTORIES(${LIBUSB_INCLUDE_DIR})
LIBUHD_APPEND_LIBS(${LIBUSB_LIBRARIES})
- IF(MSVC)
- #needed when statically linking libusb
- LIBUHD_APPEND_LIBS(Setupapi.lib)
- ENDIF(MSVC)
LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/libusb1_control.cpp
${CMAKE_CURRENT_SOURCE_DIR}/libusb1_zero_copy.cpp