Link against iconv on macOS

This commit is contained in:
Lander Gallastegi 2024-10-06 12:42:07 +02:00
parent 9816d33116
commit 992ead2de5

View file

@ -770,6 +770,10 @@ if (APPLE)
# Half float conversions for F16C patches
target_link_libraries(shadps4 PRIVATE half)
# Link against the iconv in macOS
find_package(Iconv REQUIRED)
target_link_libraries(shadps4 PRIVATE Iconv::Iconv)
endif()
if (NOT ENABLE_QT_GUI)