Skip to content

Commit

Permalink
Remove unused libintl dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj committed Jun 25, 2024
1 parent 5538478 commit 0185750
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ find_package(ZLIB)
check_symbol_exists(strdup "string.h" HAVE_STD_STRDUP)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/platform.h.in ${CMAKE_CURRENT_BINARY_DIR}/src/platform.h)

# When building with MingW, do not look for Intl
if(MINGW)
set(LIBINTL_INCLUDE_DIR "")
set(LIBINTL_LIBRARIES "")
else()
find_package(Intl)
endif()

# If tests are enabled, find CUnit
if(USE_TESTS)
find_package(CUnit)
Expand All @@ -82,7 +74,6 @@ set(COREINCS
${SDL2_INCLUDE_DIRS}
${SDL2_MIXER_INCLUDE_DIRS}
${CONFUSE_INCLUDE_DIR}
${Intl_INCLUDE_DIR}
${XMP_INCLUDE_DIR}
${ENET_INCLUDE_DIR}
${ARGTABLE2_INCLUDE_DIR}
Expand All @@ -92,7 +83,6 @@ set(COREINCS

set(CORELIBS
${CONFUSE_LIBRARY}
${Intl_LIBRARIES}
${XMP_LIBRARY}
${ENET_LIBRARY}
${ARGTABLE2_LIBRARY}
Expand Down
1 change: 0 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ Use at least GCC 9 or Clang 10. MSVC is not supported at this time.
Required:
* SDL2 (>=2.0.16): http://www.libsdl.org/download-2.0.php
* confuse: http://www.nongnu.org/confuse/
* Gettext (if you have problems with libintl)
* Enet: http://enet.bespin.org/
* libargtable2: http://argtable.sourceforge.net/
* libpng: http://www.libpng.org/pub/png/libpng.html
Expand Down

0 comments on commit 0185750

Please sign in to comment.