From cf1bf696649c958c53d7f4cf0a280242c254e4be Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Thu, 25 Jan 2018 10:53:51 -0800 Subject: utils: images downloader: forced update of CMake variable Moved the uhd_images_downloader.py.in configuration to its own script so that the manifest file is added as a dependency and read into a CMake variable. Reviewed-by: Ashish Chaudhari Reviewed-by: Martin Braun --- host/cmake/Modules/UHDImagesDownloader.cmake | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 host/cmake/Modules/UHDImagesDownloader.cmake (limited to 'host/cmake/Modules') diff --git a/host/cmake/Modules/UHDImagesDownloader.cmake b/host/cmake/Modules/UHDImagesDownloader.cmake new file mode 100644 index 000000000..63c5ded75 --- /dev/null +++ b/host/cmake/Modules/UHDImagesDownloader.cmake @@ -0,0 +1,6 @@ +#UHD images downloader configuration +FILE(READ ${CURRENT_DIR}/../../images/manifest.txt CMAKE_MANIFEST_CONTENTS) +CONFIGURE_FILE( + ${CURRENT_DIR}/uhd_images_downloader.py.in + ${INSTALL_DIR}/uhd_images_downloader.py +@ONLY) -- cgit v1.2.3