From a51fb2ed133f5550265d32e49d601d6d90e0e277 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sat, 4 Dec 2010 11:24:46 -0500 Subject: uhd: only install usrp2 apps when the component is enabled --- host/utils/CMakeLists.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'host/utils/CMakeLists.txt') diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt index ff048beb0..a8e50f72b 100644 --- a/host/utils/CMakeLists.txt +++ b/host/utils/CMakeLists.txt @@ -66,9 +66,12 @@ FOREACH(util_source ${util_share_sources}) INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_DATA_DIR}/utils) ENDFOREACH(util_source) -INSTALL(PROGRAMS - usrp2_recovery.py - usrp2_card_burner.py - usrp2_card_burner_gui.py - DESTINATION ${PKG_DATA_DIR}/utils -) +IF(ENABLE_USRP2) + INSTALL(PROGRAMS + usrp2_recovery.py + usrp2_card_burner.py + usrp2_card_burner_gui.py + usrp_n2xx_net_burner.py + DESTINATION ${PKG_DATA_DIR}/utils + ) +ENDIF(ENABLE_USRP2) -- cgit v1.2.3