diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2015-02-04 11:31:47 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2015-02-04 11:31:47 -0800 |
commit | 38cfd24f7e4cbb4a6811ab6a41507a91e23bd748 (patch) | |
tree | 6106a2b6f3cd17df77ebecab013a29babf5a74ef | |
parent | 359645c61ad17cc289d4e89464e5f307ca3dbb88 (diff) | |
download | uhd-38cfd24f7e4cbb4a6811ab6a41507a91e23bd748.tar.gz uhd-38cfd24f7e4cbb4a6811ab6a41507a91e23bd748.tar.bz2 uhd-38cfd24f7e4cbb4a6811ab6a41507a91e23bd748.zip |
uhd: Fixed cmake variable for images source for packaging
- UHD_IMAGES_SRC_DIR is now used to pull in images for packaging
-rw-r--r-- | host/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 3e01cfe6c..e2937edd3 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -382,16 +382,16 @@ UHD_INSTALL( ) ######################################################################## -# Handle pre-built UHD Images meant for installation +# Handle pre-built UHD Images for packaging ######################################################################## -IF(DEFINED UHD_IMAGES_DIR AND EXISTS "${UHD_IMAGES_DIR}") - FILE(GLOB_RECURSE _image_files "${UHD_IMAGES_DIR}/*") +IF(DEFINED UHD_IMAGES_SRC_DIR AND EXISTS "${UHD_IMAGES_SRC_DIR}") + FILE(GLOB_RECURSE _image_files "${UHD_IMAGES_SRC_DIR}/*") MESSAGE(STATUS "Using images:") FOREACH(_img ${_image_files}) MESSAGE(STATUS " ${_img}") ENDFOREACH(_img) UHD_INSTALL(FILES ${_image_files} DESTINATION ${PKG_DATA_DIR}/images COMPONENT images) -ENDIF(DEFINED UHD_IMAGES_DIR AND EXISTS "${UHD_IMAGES_DIR}") +ENDIF(DEFINED UHD_IMAGES_SRC_DIR AND EXISTS "${UHD_IMAGES_SRC_DIR}") ######################################################################## # Print Summary |