From 95550df7dfd53136c9de2ff4d47fdc68702a8450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 10 Feb 2019 19:54:21 +0100 Subject: [PATCH] Use common CMake tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeLists.txt | 14 -------------- 1 file changed, 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 )