diff options
author | Slávek Banko <[email protected]> | 2019-02-10 19:54:21 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-02-10 19:54:21 +0100 |
commit | 95550df7dfd53136c9de2ff4d47fdc68702a8450 (patch) | |
tree | d44ca77c9274ee3399f60266ef2c786b1ab39b13 | |
parent | 678b66f426ce9afddd2a7c769d38dc0d6fcb9989 (diff) | |
download | k3b-i18n-95550df7dfd53136c9de2ff4d47fdc68702a8450.tar.gz k3b-i18n-95550df7dfd53136c9de2ff4d47fdc68702a8450.zip |
Use common CMake tests.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | CMakeLists.txt | 14 |
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 ) |