aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-21 16:40:21 -0700
committerJosh Blum <josh@joshknows.com>2011-03-21 16:40:21 -0700
commita963caab9b6500ecef015fa5c514f2a7ae23046f (patch)
treebd9bb3dbc1bc1cf8b603b08228810dcb81b68262 /host/utils
parent3938de0cfedb4c4ca8b5fdb1ed7137ee32208648 (diff)
downloaduhd-a963caab9b6500ecef015fa5c514f2a7ae23046f.tar.gz
uhd-a963caab9b6500ecef015fa5c514f2a7ae23046f.tar.bz2
uhd-a963caab9b6500ecef015fa5c514f2a7ae23046f.zip
uhd: setup cpack components for component based installers
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
index 53527c03d..3c18324a5 100644
--- a/host/utils/CMakeLists.txt
+++ b/host/utils/CMakeLists.txt
@@ -28,7 +28,7 @@ FOREACH(util_source ${util_runtime_sources})
GET_FILENAME_COMPONENT(util_name ${util_source} NAME_WE)
ADD_EXECUTABLE(${util_name} ${util_source})
TARGET_LINK_LIBRARIES(${util_name} uhd)
- INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${RUNTIME_DIR})
+ INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${RUNTIME_DIR} COMPONENT utilities)
ENDFOREACH(util_source)
########################################################################
@@ -50,7 +50,7 @@ FOREACH(util_source ${util_share_sources})
GET_FILENAME_COMPONENT(util_name ${util_source} NAME_WE)
ADD_EXECUTABLE(${util_name} ${util_source})
TARGET_LINK_LIBRARIES(${util_name} uhd)
- INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_DATA_DIR}/utils)
+ INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_DATA_DIR}/utils COMPONENT utilities)
ENDFOREACH(util_source)
IF(ENABLE_USRP2)
@@ -60,5 +60,6 @@ IF(ENABLE_USRP2)
usrp2_card_burner_gui.py
usrp_n2xx_net_burner.py
DESTINATION ${PKG_DATA_DIR}/utils
+ COMPONENT utilities
)
ENDIF(ENABLE_USRP2)