From 38cfd24f7e4cbb4a6811ab6a41507a91e23bd748 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Wed, 4 Feb 2015 11:31:47 -0800 Subject: uhd: Fixed cmake variable for images source for packaging - UHD_IMAGES_SRC_DIR is now used to pull in images for packaging --- host/CMakeLists.txt | 8 ++++---- 1 file 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 -- cgit v1.2.3