|
|
|
@ -31,20 +31,6 @@ include( TDEMacros )
|
|
|
|
|
|
|
|
|
|
##### find required stuff #######################
|
|
|
|
|
|
|
|
|
|
include( FindGettext )
|
|
|
|
|
if( GETTEXT_FOUND )
|
|
|
|
|
set( DEFAULT_MSGFMT_EXECUTABLE ${GETTEXT_MSGFMT_EXECUTABLE} )
|
|
|
|
|
else( GETTEXE_FOUND )
|
|
|
|
|
find_program( DEFAULT_MSGFMT_EXECUTABLE msgfmt )
|
|
|
|
|
endif( GETTEXT_FOUND )
|
|
|
|
|
|
|
|
|
|
set( MSGFMT_EXECUTABLE ${DEFAULT_MSGFMT_EXECUTABLE} CACHE FILEPATH
|
|
|
|
|
"path to msgfmt executable" )
|
|
|
|
|
|
|
|
|
|
if( NOT MSGFMT_EXECUTABLE )
|
|
|
|
|
tde_message_fatal( "msgfmt is required but was not found on your system or defined" )
|
|
|
|
|
endif( NOT MSGFMT_EXECUTABLE )
|
|
|
|
|
|
|
|
|
|
find_package( TDE )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|