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
This commit is contained in:
Kornel Benko 2017-06-27 19:18:24 +02:00
parent 13c3c1485b
commit acf8df28b3

View File

@ -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})