From 2f81e2f7086eec7c0ae4370555ddae6e2f6ce2de Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 30 Mar 2010 17:24:39 +0000 Subject: tweak usrp-e cmake config --- host/lib/CMakeLists.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index db5e9d273..ff002bfc0 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -54,18 +54,18 @@ LIST(APPEND libuhd_sources MESSAGE(STATUS "Configuring usrp-e support...") INCLUDE(CheckIncludeFiles) -SET(usrp1e_required_headers +SET(usrp_e_required_headers linux/ioctl.h linux/spi/spidev.h - linux/usrp1_e.h + linux/usrp_e.h ) CHECK_INCLUDE_FILES( - "${usrp1e_required_headers}" - HAS_USRP1E_REQUIRED_HEADERS + "${usrp_e_required_headers}" + HAVE_USRP_E_REQUIRED_HEADERS ) -IF(HAS_USRP1E_REQUIRED_HEADERS) - MESSAGE(STATUS " Building usrp1e support.") +IF(HAVE_USRP_E_REQUIRED_HEADERS) + MESSAGE(STATUS " Building usrp-e support.") LIST(APPEND libuhd_sources usrp/usrp_e/dboard_impl.cpp usrp/usrp_e/dboard_interface.cpp @@ -74,12 +74,12 @@ IF(HAS_USRP1E_REQUIRED_HEADERS) usrp/usrp_e/mboard_impl.cpp usrp/usrp_e/usrp_e_impl.cpp ) -ELSE(HAS_USRP1E_REQUIRED_HEADERS) - MESSAGE(STATUS " Skipping usrp1e support.") +ELSE(HAVE_USRP_E_REQUIRED_HEADERS) + MESSAGE(STATUS " Skipping usrp-e support.") LIST(APPEND libuhd_sources usrp/usrp_e/usrp_e_none.cpp ) -ENDIF(HAS_USRP1E_REQUIRED_HEADERS) +ENDIF(HAVE_USRP_E_REQUIRED_HEADERS) ######################################################################## # Setup defines for module loading -- cgit v1.2.3