1
0
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:
ceeac
2017-10-22 10:25:01 +02:00
committed by Michał Janiszewski
parent 7a099d90ce
commit a2ca87bde0

View File

@@ -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()