1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 10:48:33 +01:00

Fail to configure if xgettext cannot be found.

Fixes issue #292
This commit is contained in:
John Maguire 2010-05-07 13:10:21 +00:00
parent b909f56dbb
commit b41716e520

View File

@ -103,6 +103,9 @@ add_definitions(-DQXT_STATIC -DBUILD_QXT_GUI -DBUILD_QXT_CORE)
# Translations stuff
find_program(GETTEXT_XGETTEXT_EXECUTABLE xgettext)
if(NOT GETTEXT_XGETTEXT_EXECUTABLE)
message(FATAL_ERROR "Could not find xgettext executable")
endif(NOT GETTEXT_XGETTEXT_EXECUTABLE)
# Subdirectories
add_subdirectory(3rdparty/qtsingleapplication)