diff options
author | Alex Williams <alex.williams@ni.com> | 2018-04-17 10:36:59 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-04-18 15:34:51 -0700 |
commit | 7dcd16f5a6980cb1183bf1a10812c952d92c4ddb (patch) | |
tree | d1eaa9bdca563fe1f17886d771e16ff65ed153c7 /mpm/include | |
parent | e733e590c4b5aa3053af0681bef199d27e4b2d7a (diff) | |
download | uhd-7dcd16f5a6980cb1183bf1a10812c952d92c4ddb.tar.gz uhd-7dcd16f5a6980cb1183bf1a10812c952d92c4ddb.tar.bz2 uhd-7dcd16f5a6980cb1183bf1a10812c952d92c4ddb.zip |
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.
Diffstat (limited to 'mpm/include')
-rw-r--r-- | mpm/include/mpm/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mpm/include/mpm/CMakeLists.txt b/mpm/include/mpm/CMakeLists.txt index d9cb68e03..e69d85ef2 100644 --- a/mpm/include/mpm/CMakeLists.txt +++ b/mpm/include/mpm/CMakeLists.txt @@ -9,7 +9,10 @@ INSTALL(FILES DESTINATION ${INCLUDE_DIR}/mpm ) -ADD_SUBDIRECTORY(ad937x) +IF(ENABLE_MYKONOS) + ADD_SUBDIRECTORY(ad937x) +ENDIF(ENABLE_MYKONOS) + ADD_SUBDIRECTORY(chips) ADD_SUBDIRECTORY(dboards) ADD_SUBDIRECTORY(spi) |