mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Fix failing link on Ubuntu due to missing libiconv
This commit is contained in:
committed by
Michał Janiszewski
parent
7a099d90ce
commit
a2ca87bde0
@@ -193,7 +193,7 @@ if (NOT DISABLE_TTF)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
if (APPLE OR STATIC OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD")
|
||||
if (UNIX OR STATIC OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD")
|
||||
find_library(ICONV_LIBRARIES NAMES iconv libiconv libiconv-2 c)
|
||||
target_link_libraries(${PROJECT} ${ICONV_LIBRARIES})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user