Fix failing link on Ubuntu due to missing libiconv

This commit is contained in:
ceeac authored and Michał Janiszewski committed 2017-11-06 21:53:36 +01:00
1 parent 7a099d90ce
commit a2ca87bde0
1 file changed
+1 -1
+1 -1
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()