From 526929071a43b820e6ee45961e0a10e605862e91 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Sat, 9 Jun 2018 22:42:47 -0700 Subject: cmake: Add ENABLE_N300 target Driver support for N310/N300 was previously implied by ENABLE_MPMD, which had two issues: 1) It was not clear that ENABLE_MPMD was actually enabling the N3x0 2) It did not allow to enable mpmd support without N3x0 support This resolves these issues. --- host/lib/usrp/dboard/eiscat/CMakeLists.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'host/lib/usrp/dboard/eiscat') diff --git a/host/lib/usrp/dboard/eiscat/CMakeLists.txt b/host/lib/usrp/dboard/eiscat/CMakeLists.txt index 156e139fb..13da2d6da 100644 --- a/host/lib/usrp/dboard/eiscat/CMakeLists.txt +++ b/host/lib/usrp/dboard/eiscat/CMakeLists.txt @@ -4,10 +4,11 @@ # SPDX-License-Identifier: GPL-3.0 # -IF(ENABLE_MPMD AND ENABLE_EISCAT) - LIST(APPEND EISCAT_SOURCES - ${CMAKE_CURRENT_SOURCE_DIR}/eiscat_radio_ctrl_impl.cpp - ) - LIBUHD_APPEND_SOURCES(${EISCAT_SOURCES}) -ENDIF(ENABLE_MPMD AND ENABLE_EISCAT) +# This file is conditionally included if ENABLE_MPMD and ENABLE_EISCAT are +# set to true. + +LIST(APPEND EISCAT_SOURCES + ${CMAKE_CURRENT_SOURCE_DIR}/eiscat_radio_ctrl_impl.cpp +) +LIBUHD_APPEND_SOURCES(${EISCAT_SOURCES}) -- cgit v1.2.3