|
|
|
@ -9,26 +9,21 @@
|
|
|
|
|
#
|
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# required stuff
|
|
|
|
|
find_package( TQt )
|
|
|
|
|
find_package( TDE )
|
|
|
|
|
|
|
|
|
|
tde_setup_architecture_flags( )
|
|
|
|
|
|
|
|
|
|
include(TestBigEndian)
|
|
|
|
|
test_big_endian(WORDS_BIGENDIAN)
|
|
|
|
|
|
|
|
|
|
find_package( TQt )
|
|
|
|
|
find_package( TDE )
|
|
|
|
|
|
|
|
|
|
tde_setup_largefiles( )
|
|
|
|
|
|
|
|
|
|
##### gettext
|
|
|
|
|
|
|
|
|
|
if( BUILD_TRANSLATIONS )
|
|
|
|
|
include( FindGettext )
|
|
|
|
|
if( GETTEXT_FOUND )
|
|
|
|
|
set( MSGFMT_EXECUTABLE ${GETTEXT_MSGFMT_EXECUTABLE}
|
|
|
|
|
CACHE FILEPATH "path to msgfmt executable" )
|
|
|
|
|
endif( GETTEXT_FOUND )
|
|
|
|
|
##### check for gcc visibility support
|
|
|
|
|
|
|
|
|
|
if( NOT MSGFMT_EXECUTABLE )
|
|
|
|
|
tde_message_fatal( "msgfmt is required but was not found on your system." )
|
|
|
|
|
endif( NOT MSGFMT_EXECUTABLE )
|
|
|
|
|
endif( BUILD_TRANSLATIONS )
|
|
|
|
|
if( WITH_GCC_VISIBILITY )
|
|
|
|
|
tde_setup_gcc_visibility( )
|
|
|
|
|
endif( WITH_GCC_VISIBILITY )
|
|
|
|
|