diff options
author | Josh Blum <josh@joshknows.com> | 2012-01-13 11:27:42 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-01-13 11:27:42 -0800 |
commit | 1424488061000ddc471c976c2406ff274d14ae99 (patch) | |
tree | 0d4b30268effff8ab30295e0d78beb15490c8c4d /host/utils/CMakeLists.txt | |
parent | 02eaed1b08be2160232d5fc12e3d5926f6c03a9f (diff) | |
download | uhd-1424488061000ddc471c976c2406ff274d14ae99.tar.gz uhd-1424488061000ddc471c976c2406ff274d14ae99.tar.bz2 uhd-1424488061000ddc471c976c2406ff274d14ae99.zip |
uhd: patch to support PKG_LIB_DIR per debian fs standards
uhd binaries will continue to install into share/uhd,
however, one can specify -DPKG_LIB_DIR=lib/uhd for example
to move where the binaries are installed
Diffstat (limited to 'host/utils/CMakeLists.txt')
-rw-r--r-- | host/utils/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt index 430b49c47..9d557f3d2 100644 --- a/host/utils/CMakeLists.txt +++ b/host/utils/CMakeLists.txt @@ -51,7 +51,7 @@ ENDIF(ENABLE_USB) IF(LINUX AND ENABLE_USB) INSTALL(FILES uhd-usrp.rules - DESTINATION ${PKG_DATA_DIR}/utils + DESTINATION ${PKG_LIB_DIR}/utils COMPONENT utilities ) ENDIF(LINUX AND ENABLE_USB) @@ -61,7 +61,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 COMPONENT utilities) + INSTALL(TARGETS ${util_name} RUNTIME DESTINATION ${PKG_LIB_DIR}/utils COMPONENT utilities) ENDFOREACH(util_source) IF(ENABLE_USRP2) @@ -72,7 +72,7 @@ IF(ENABLE_USRP2) ) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/dd.exe - DESTINATION ${PKG_DATA_DIR}/utils + DESTINATION ${PKG_LIB_DIR}/utils COMPONENT utilities ) ENDIF(WIN32 AND UHD_RELEASE_MODE) @@ -82,7 +82,7 @@ IF(ENABLE_USRP2) usrp2_card_burner_gui.py usrp_n2xx_net_burner.py usrp_n2xx_net_burner_gui.py - DESTINATION ${PKG_DATA_DIR}/utils + DESTINATION ${PKG_LIB_DIR}/utils COMPONENT utilities ) ENDIF(ENABLE_USRP2) |