aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-08-17 13:05:19 -0700
committerMartin Braun <martin.braun@ettus.com>2016-08-17 13:05:19 -0700
commit689de194733951e5a79a17fc329112d601e4eb2f (patch)
tree179d7b8da57d9ad51135a1075044fcd6f2512377
parentc1b353befe051b04371434d10c8c20abab1ee06a (diff)
downloaduhd-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.txt9
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