diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-08-17 13:05:19 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-08-17 13:05:19 -0700 |
commit | 689de194733951e5a79a17fc329112d601e4eb2f (patch) | |
tree | 179d7b8da57d9ad51135a1075044fcd6f2512377 | |
parent | c1b353befe051b04371434d10c8c20abab1ee06a (diff) | |
download | uhd-689de194733951e5a79a17fc329112d601e4eb2f.tar.gz uhd-689de194733951e5a79a17fc329112d601e4eb2f.tar.bz2 uhd-689de194733951e5a79a17fc329112d601e4eb2f.zip |
cmake: Remove device3.hpp header if not using RFNoC
-rw-r--r-- | host/include/uhd/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/host/include/uhd/CMakeLists.txt b/host/include/uhd/CMakeLists.txt index 12709fc0a..e31ff80a0 100644 --- a/host/include/uhd/CMakeLists.txt +++ b/host/include/uhd/CMakeLists.txt @@ -33,7 +33,6 @@ UHD_INSTALL(FILES convert.hpp deprecated.hpp device.hpp - device3.hpp device_deprecated.ipp exception.hpp property_tree.ipp @@ -44,6 +43,14 @@ UHD_INSTALL(FILES COMPONENT headers ) +IF(ENABLE_RFNOC) + UHD_INSTALL(FILES + device3.hpp + DESTINATION ${INCLUDE_DIR}/uhd + COMPONENT headers + ) +ENDIF(ENABLE_RFNOC) + IF(ENABLE_C_API) UHD_INSTALL(FILES config.h |