Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused libintl dependency #506

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading