diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-02-10 19:54:21 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-02-10 19:54:37 +0100 |
commit | e0233db53bce7d5db618885b71895af011944a7f (patch) | |
tree | 661dcef1bee2c55076a2cf0514a1c6e6bdc32833 | |
parent | d7ff80859938af559ed2ce56da3601db1fc2ee0f (diff) | |
download | k3b-i18n-e0233db53bce7d5db618885b71895af011944a7f.tar.gz k3b-i18n-e0233db53bce7d5db618885b71895af011944a7f.zip |
Use common CMake tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 95550df7dfd53136c9de2ff4d47fdc68702a8450)
-rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d87eda..1375710 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 ) |