Skip to content

Commit

Permalink
libintl is required on FreeBSD as well
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Nov 30, 2012
1 parent 0794fa8 commit b676047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -404,10 +404,10 @@ if (MINIZIP_FOUND)
include_directories(${MINIZIP_INCLUDE_DIR})
endif (MINIZIP_FOUND)

if (APPLE OR WIN32)
if (APPLE OR WIN32 OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
find_package(intl REQUIRED)
include_directories(${INTL_INCLUDE_DIR})
endif (APPLE OR WIN32)
endif (APPLE OR WIN32 OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")

find_package(SDL REQUIRED)
include_directories(${SDL_INCLUDE_DIR})
Expand Down
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -128,9 +128,9 @@ endif (DEFINED WL_EXTRA_LINK_LIBRARIES)
target_link_libraries(widelands widelands_all)
target_link_libraries(widelands ${SDL_LIBRARY})

if (APPLE OR WIN32)
if (APPLE OR WIN32 OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
target_link_libraries(widelands_all ${INTL_LIBRARY})
endif (APPLE OR WIN32)
endif (APPLE OR WIN32 OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")

if (WIN32)
if (DEFINED MSVC)
Expand Down

0 comments on commit b676047

Please sign in to comment.