From 65246190b69815e4e622ab38247e8fb22ed91a7c Mon Sep 17 00:00:00 2001 From: samelian Date: Thu, 21 Apr 2011 22:32:20 +0000 Subject: [applications/amarok] added cmake support for translations git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1228680 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ConfigureChecks.cmake | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 43f66688..5c71a919 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -9,6 +9,13 @@ # ################################################# +if( BUILD_TRANSLATIONS AND NOT DEFINED MSGFMT_EXECUTABLE ) + find_program( MSGFMT_EXECUTABLE msgfmt ) + if( NOT MSGFMT_EXECUTABLE ) + tde_message_fatal( "msgfmt program is required, but was not found on your system" ) + endif( ) +endif( ) + check_type_size( "int" SIZEOF_INT BUILTIN_TYPES_ONLY ) check_type_size( "long" SIZEOF_LONG BUILTIN_TYPES_ONLY ) -- cgit v1.2.1