diff options
author | Josh Blum <josh@joshknows.com> | 2010-11-30 11:32:43 -0500 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-11-30 11:32:43 -0500 |
commit | 14033d3647e25a18fbb1ac7ce13518417fa91bc0 (patch) | |
tree | ff0befbfd578c88c293b7ca42d79da0a5ab03c35 | |
parent | a9e5fa7922d2062acdefd989e55c0e27ad260554 (diff) | |
download | uhd-14033d3647e25a18fbb1ac7ce13518417fa91bc0.tar.gz uhd-14033d3647e25a18fbb1ac7ce13518417fa91bc0.tar.bz2 uhd-14033d3647e25a18fbb1ac7ce13518417fa91bc0.zip |
uhd: tweak configuring usb messages
-rw-r--r-- | host/lib/transport/CMakeLists.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/host/lib/transport/CMakeLists.txt b/host/lib/transport/CMakeLists.txt index e63935d6c..b5f1fc940 100644 --- a/host/lib/transport/CMakeLists.txt +++ b/host/lib/transport/CMakeLists.txt @@ -26,6 +26,7 @@ LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/lib/transport) FIND_PACKAGE(USB1 REQUIRED) IF(LIBUSB_FOUND) + MESSAGE(STATUS "USB support enabled via libusb.") INCLUDE_DIRECTORIES(${LIBUSB_INCLUDE_DIR}) LIBUHD_APPEND_LIBS(${LIBUSB_LIBRARIES}) LIBUHD_APPEND_SOURCES( @@ -39,21 +40,18 @@ IF(LIBUSB_FOUND) ENDIF(MSVC) SET(HAVE_USB_SUPPORT TRUE) ELSE(LIBUSB_FOUND) + MESSAGE(STATUS "USB support disabled.") LIBUHD_APPEND_SOURCES( ${CMAKE_SOURCE_DIR}/lib/transport/usb_dummy_impl.cpp ) SET(HAVE_USB_SUPPORT FALSE) ENDIF(LIBUSB_FOUND) -IF(HAVE_USB_SUPPORT) - MESSAGE(STATUS "Has USB support - found") -ELSE(HAVE_USB_SUPPORT) - MESSAGE(STATUS "Has USB support - not found") -ENDIF(HAVE_USB_SUPPORT) - ######################################################################## # Check for SIMD headers ######################################################################## +MESSAGE(STATUS "") + INCLUDE(CheckIncludeFileCXX) CHECK_INCLUDE_FILE_CXX(emmintrin.h HAVE_EMMINTRIN_H) @@ -67,6 +65,7 @@ CHECK_INCLUDE_FILE_CXX(arm_neon.h HAVE_ARM_NEON_H) IF(HAVE_ARM_NEON_H) ADD_DEFINITIONS(-DHAVE_ARM_NEON_H) ENDIF(HAVE_ARM_NEON_H) + ######################################################################## # Setup defines for interface address discovery ######################################################################## |