Skip to content

Commit

Permalink
link statically against freetype on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
wkjarosz committed Apr 4, 2024
1 parent 71de5f3 commit ba89787
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ endforeach()

set(HELLOIMGUI_EMSCRIPTEN_PTHREAD ON)
set(HELLOIMGUI_EMSCRIPTEN_PTHREAD_ALLOW_MEMORY_GROWTH ON)
# on macOS, link statically against freetype
if(APPLE)
set(HELLOIMGUI_FREETYPE_STATIC ON)
endif()

CPMAddPackage(
NAME imgui_bundle
Expand Down

0 comments on commit ba89787

Please sign in to comment.