diff options
-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 |