mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 16:15:39 +00:00
Added explicit linking of the libintl library on Unix systems where the gettext functions are not part of the C standard library
This commit is contained in:
parent
3c3143bad7
commit
9e8143820e
|
@ -629,6 +629,11 @@ else()
|
|||
${GIT2_LIBRARY}
|
||||
${PUGIXML_LIBRARIES}
|
||||
${SDL2_LIBRARY})
|
||||
if(Intl_LIBRARY)
|
||||
# On Unix systems where the gettext functions are not part of the C standard library
|
||||
# we need to explicitly link with the libintl library.
|
||||
set(COMMON_LIBRARIES ${COMMON_LIBRARIES} ${Intl_LIBRARY})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT WIN32)
|
||||
|
|
Loading…
Reference in a new issue