diff options
author | Josh Blum <josh@joshknows.com> | 2011-04-04 13:10:06 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-04-04 13:10:06 -0700 |
commit | 7cd216e967161a0d3a4d7b9bc03583d270ce4de3 (patch) | |
tree | 41a492b7009350f29c72e855ca287066ec15e4eb /host/lib | |
parent | 721194ec0f832dd9fa7b905bb9ac7b0a06da975e (diff) | |
download | uhd-7cd216e967161a0d3a4d7b9bc03583d270ce4de3.tar.gz uhd-7cd216e967161a0d3a4d7b9bc03583d270ce4de3.tar.bz2 uhd-7cd216e967161a0d3a4d7b9bc03583d270ce4de3.zip |
uhd: specify msvc for implementations known only to work on msvc
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/transport/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/CMakeLists.txt b/host/lib/transport/CMakeLists.txt index 656ca9987..a7179d561 100644 --- a/host/lib/transport/CMakeLists.txt +++ b/host/lib/transport/CMakeLists.txt @@ -31,10 +31,10 @@ IF(ENABLE_USB) MESSAGE(STATUS "USB support enabled via libusb.") INCLUDE_DIRECTORIES(${LIBUSB_INCLUDE_DIR}) LIBUHD_APPEND_LIBS(${LIBUSB_LIBRARIES}) - IF(WIN32) + IF(MSVC) #needed when statically linking libusb LIBUHD_APPEND_LIBS(Setupapi.lib) - ENDIF(WIN32) + ENDIF(MSVC) LIBUHD_APPEND_SOURCES( ${CMAKE_CURRENT_SOURCE_DIR}/libusb1_control.cpp ${CMAKE_CURRENT_SOURCE_DIR}/libusb1_zero_copy.cpp |