summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-02-10 19:54:21 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-02-10 19:54:21 +0100
commit95550df7dfd53136c9de2ff4d47fdc68702a8450 (patch)
treed44ca77c9274ee3399f60266ef2c786b1ab39b13
parent678b66f426ce9afddd2a7c769d38dc0d6fcb9989 (diff)
downloadk3b-i18n-95550df7dfd53136c9de2ff4d47fdc68702a8450.zip
k3b-i18n-95550df7dfd53136c9de2ff4d47fdc68702a8450.tar.gz
Use common CMake tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeLists.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1efbabf..fdf50d4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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 )