From 689de194733951e5a79a17fc329112d601e4eb2f Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 17 Aug 2016 13:05:19 -0700 Subject: cmake: Remove device3.hpp header if not using RFNoC --- host/include/uhd/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'host') 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 -- cgit v1.2.3