From acf8df28b32419270ddddd1c54cf9038d250cfd8 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Tue, 27 Jun 2017 19:18:24 +0200 Subject: [PATCH] Sort images file list also for cmake This is not needed for recent cmake versions, but since we expect also older cmake version be used, sort the list nevertheless. See https://reproducible-builds.org/ for why this matters. Amends b8e3615 --- development/cmake/scripts/LyXCreateImagesResource.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/development/cmake/scripts/LyXCreateImagesResource.cmake b/development/cmake/scripts/LyXCreateImagesResource.cmake index 2c68b3b5b1..0d6bca3a7c 100644 --- a/development/cmake/scripts/LyXCreateImagesResource.cmake +++ b/development/cmake/scripts/LyXCreateImagesResource.cmake @@ -50,6 +50,7 @@ file(GLOB_RECURSE images_gif ${IMAGES_DIR}/*.gif) file(GLOB_RECURSE images_svgz ${IMAGES_DIR}/*.svgz) set(images ${images_png} ${images_gif} ${images_svgz}) +list(SORT images) file(REMOVE ${RESOURCE_NAME}) if(EXISTS ${RESOURCE_NAME})