Skip to content

Commit

Permalink
Fix libiconv handling for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 authored and Bertram25 committed Nov 24, 2019
1 parent 573477d commit eb633ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit eb633ad

Please sign in to comment.