freebsd-ports/games/valyriatear/files/patch-src_CMakeLists.txt
2015-09-04 10:41:56 +00:00

15 lines
423 B
Text

--- src/CMakeLists.txt.orig 2013-09-24 11:33:12 UTC
+++ src/CMakeLists.txt
@@ -8,7 +8,11 @@ FIND_PACKAGE(OpenAL REQUIRED)
FIND_PACKAGE(VorbisFile REQUIRED)
FIND_PACKAGE(Lua51 REQUIRED)
FIND_PACKAGE(PNG REQUIRED)
-FIND_PACKAGE(Gettext REQUIRED)
+
+IF(NOT DISABLE_TRANSLATIONS)
+ FIND_PACKAGE(Gettext REQUIRED)
+ENDIF(NOT DISABLE_TRANSLATIONS)
+
FIND_PACKAGE(Boost 1.48.0 REQUIRED)
IF (UNIX AND USE_SYSTEM_LUABIND)