Use common CMake tests.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent af976ace7d
commit 6e7fb870bc
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -10,18 +10,3 @@
# required stuff # required stuff
find_package( TQt ) find_package( TQt )
find_package( TDE ) find_package( TDE )
##### gettext
if( BUILD_TRANSLATIONS )
include( FindGettext )
if( GETTEXT_FOUND )
set( MSGFMT_EXECUTABLE ${GETTEXT_MSGFMT_EXECUTABLE}
CACHE FILEPATH "path to msgfmt executable" )
endif( GETTEXT_FOUND )
if( NOT MSGFMT_EXECUTABLE )
tde_message_fatal( "msgfmt is required but was not found on your system." )
endif( NOT MSGFMT_EXECUTABLE )
endif( BUILD_TRANSLATIONS )

Loading…
Cancel
Save