diff options
-rw-r--r-- | modules/TDEMacros.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 344937b..e608653 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -2076,8 +2076,13 @@ macro( tde_create_tarball ) tde_message_fatal( "Target tarball name not specified." ) endif( ) + if( NOT IS_ABSOLUTE ${_sourcedir} ) + set( _sourcedir "${CMAKE_CURRENT_SOURCE_DIR}/${_sourcedir}" ) + endif( ) + if( NOT _files ) file( GLOB_RECURSE _files RELATIVE ${_sourcedir} "${_sourcedir}/*" ) + list( SORT _files ) endif( ) unset( _files_deps ) |