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>
pull/80/head
Slávek Banko 3 years ago
parent 538040ff2d
commit 857971e810
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -752,6 +752,7 @@ endmacro( tde_install_libtool_file )
function( tde_install_export ) function( tde_install_export )
file( GLOB export_files ${CMAKE_CURRENT_BINARY_DIR}/export-*.cmake ) file( GLOB export_files ${CMAKE_CURRENT_BINARY_DIR}/export-*.cmake )
list( SORT export_files )
set( mode "WRITE" ) set( mode "WRITE" )
foreach( filename ${export_files} ) foreach( filename ${export_files} )

Loading…
Cancel
Save