summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-03 18:57:09 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-03 18:57:09 +0100
commit857971e81015596d53ce861d08b0e64169a33d7c (patch)
treed64252d255feb37c3d405bafc11b60ee129f2887 /modules
parent538040ff2d48561f9503f1ef2e6c0f6018461ecc (diff)
downloadtde-cmake-857971e81015596d53ce861d08b0e64169a33d7c.tar.gz
tde-cmake-857971e81015596d53ce861d08b0e64169a33d7c.zip
tde_install_export: Sort individual exported files before generating
a summary export file so that the generated output is reproducible. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'modules')
-rw-r--r--modules/TDEMacros.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index bc65310..661587f 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -752,6 +752,7 @@ endmacro( tde_install_libtool_file )
function( tde_install_export )
file( GLOB export_files ${CMAKE_CURRENT_BINARY_DIR}/export-*.cmake )
+ list( SORT export_files )
set( mode "WRITE" )
foreach( filename ${export_files} )