freebsd-ports/games/valyriatear/files/patch-src_CMakeLists.txt
2019-11-15 23:39:01 +00:00

15 lines
776 B
Text

--- src/CMakeLists.txt.orig 2019-09-22 13:29:24 UTC
+++ src/CMakeLists.txt
@@ -104,10 +104,10 @@ IF (NOT DISABLE_TRANSLATIONS)
SET(EXTRA_LIBRARIES ws2_32 winmm)
FIND_PACKAGE(LibIntl REQUIRED)
FIND_PACKAGE(Iconv REQUIRED)
- ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR BEOS OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR BEOS)
FIND_PACKAGE(LibIntl REQUIRED)
FIND_PACKAGE(LibIconv REQUIRED)
- ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
+ ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
FIND_PACKAGE(LibIntl REQUIRED)
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL SunOS)
# explicit linking to libintl is required on Solaris