Skip to content

Commit

Permalink
fix underlinking iconv in gdk on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Apr 28, 2021
1 parent ba3af10 commit 941c6ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/gdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 941c6ca

Please sign in to comment.