aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-10-31 13:45:22 +0100
committerMartin Braun <martin.braun@ettus.com>2014-10-31 13:45:22 +0100
commitcdafa9bf22f64962df1d122a0cdc277de7bbb116 (patch)
treeee35d8fbe723993fdd37564874b78581f5a0407e /host/cmake
parent62b267412ebe63ae0794af386e94d05647f1e5ad (diff)
downloaduhd-cdafa9bf22f64962df1d122a0cdc277de7bbb116.tar.gz
uhd-cdafa9bf22f64962df1d122a0cdc277de7bbb116.tar.bz2
uhd-cdafa9bf22f64962df1d122a0cdc277de7bbb116.zip
cmake: Fixed duplicate installation of cmake files
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/UHDComponent.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/cmake/Modules/UHDComponent.cmake b/host/cmake/Modules/UHDComponent.cmake
index a041762b2..bf4a50e33 100644
--- a/host/cmake/Modules/UHDComponent.cmake
+++ b/host/cmake/Modules/UHDComponent.cmake
@@ -72,6 +72,10 @@ FUNCTION(UHD_INSTALL)
IF(NOT LIBUHD_PKG AND NOT UHDHOST_PKG)
INSTALL(${ARGN})
ENDIF(NOT LIBUHD_PKG AND NOT UHDHOST_PKG)
+ ELSEIF(UHD_INSTALL_COMPONENT STREQUAL "devel")
+ IF(NOT LIBUHD_PKG AND NOT UHDHOST_PKG)
+ INSTALL(${ARGN})
+ ENDIF(NOT LIBUHD_PKG AND NOT UHDHOST_PKG)
ELSEIF(UHD_INSTALL_COMPONENT STREQUAL "examples")
IF(NOT LIBUHD_PKG AND NOT LIBUHDDEV_PKG)
INSTALL(${ARGN})