From b488026ea1996a15946ed492bf3511a401d0f727 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Wed, 23 Oct 2013 10:09:04 -0700 Subject: cmake: fixed UHD_IMAGES_DIR behavior to include directories inside specified images directory --- host/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/CMakeLists.txt') diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index ebd6c1e00..602e9aa67 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -284,7 +284,7 @@ ENDIF(NOT LIBUHD_PKG AND NOT UHDHOST_PKG) # Handle pre-built images ######################################################################## IF(DEFINED UHD_IMAGES_DIR AND EXISTS "${UHD_IMAGES_DIR}") - FILE(GLOB _image_files "${UHD_IMAGES_DIR}/*.*") + FILE(GLOB_RECURSE _image_files "${UHD_IMAGES_DIR}/*") MESSAGE(STATUS "Using images:") FOREACH(_img ${_image_files}) MESSAGE(STATUS " ${_img}") -- cgit v1.2.3