|
|
|
@ -70,6 +70,29 @@ if( WITH_VCS_SUBVERSION )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### check for gnu tar extensions #############
|
|
|
|
|
if( NOT TAR )
|
|
|
|
|
message( STATUS "Checking if tar supports GNU extensions" )
|
|
|
|
|
foreach( TAR_CMD tar gtar gnutar )
|
|
|
|
|
if( NOT TAR )
|
|
|
|
|
execute_process(
|
|
|
|
|
COMMAND ${TAR_CMD} --version
|
|
|
|
|
OUTPUT_VARIABLE TAR_VERSION
|
|
|
|
|
ERROR_VARIABLE TAR_VERSION
|
|
|
|
|
)
|
|
|
|
|
if( "${TAR_VERSION}" MATCHES "(GNU tar)" )
|
|
|
|
|
set( TAR "${TAR_CMD}" CACHE INTERNAL "" FORCE )
|
|
|
|
|
endif( )
|
|
|
|
|
endif( )
|
|
|
|
|
endforeach( TAR_CMD )
|
|
|
|
|
if( TAR )
|
|
|
|
|
message( STATUS "Checking if tar supports GNU extensions - ${TAR}" )
|
|
|
|
|
else( )
|
|
|
|
|
tde_message_fatal( "tar with GNU extensions is required but not found on your system" )
|
|
|
|
|
endif( )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# required stuff
|
|
|
|
|
find_package( TQt )
|
|
|
|
|
find_package( TDE )
|
|
|
|
|