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>
(cherry picked from commit 857971e810)
r14.0.x
Slávek Banko 3 years ago
parent f7402b3bc9
commit 8a83789891
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