diff --git a/src/modules/gdk/CMakeLists.txt b/src/modules/gdk/CMakeLists.txt index debff9aaf..090b35377 100644 --- a/src/modules/gdk/CMakeLists.txt +++ b/src/modules/gdk/CMakeLists.txt @@ -19,6 +19,9 @@ endif() if(TARGET PkgConfig::pango AND TARGET PkgConfig::fontconfig) target_sources(mltgdk PRIVATE producer_pango.c) target_link_libraries(mltgdk PRIVATE PkgConfig::pango PkgConfig::fontconfig PkgConfig::pangoft2) + if(APPLE) + target_link_libraries(mltgdk PRIVATE iconv) + endif() target_compile_definitions(mltgdk PRIVATE USE_PANGO) install(FILES producer_pango.yml DESTINATION ${MLT_INSTALL_DATA_DIR}/gdk) endif()