From 7dcd16f5a6980cb1183bf1a10812c952d92c4ddb Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Tue, 17 Apr 2018 10:36:59 -0700 Subject: mpm: Use configurable components for build system For a minimal build, default to off for components unless the MPM_DEVICE or the user requests it specifically. --- mpm/lib/dboards/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpm/lib/dboards') diff --git a/mpm/lib/dboards/CMakeLists.txt b/mpm/lib/dboards/CMakeLists.txt index a1017d8d3..7af3f98b7 100644 --- a/mpm/lib/dboards/CMakeLists.txt +++ b/mpm/lib/dboards/CMakeLists.txt @@ -8,8 +8,8 @@ # This file included, use CMake directory variables ######################################################################## -if(MPM_DEVICE STREQUAL "n3xx") +if(ENABLE_MAGNESIUM) USRP_PERIPHS_ADD_OBJECT(dboards magnesium_manager.cpp ) -endif(MPM_DEVICE STREQUAL "n3xx") +endif(ENABLE_MAGNESIUM) -- cgit v1.2.3