Skip to content

Commit

Permalink
hello_imgui_build_lib.cmake: _him_add_freetype_plutosvg_to_imgui forc…
Browse files Browse the repository at this point in the history
…ed if HELLOIMGUI_FREETYPE_STATIC
  • Loading branch information
pthom committed Nov 16, 2024
1 parent 47b3ef5 commit 6ba7c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hello_imgui_cmake/hello_imgui_build_lib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ function(_him_add_freetype_plutosvg_to_imgui)
# We have to
# - enable plutosvg in imgui via IMGUI_ENABLE_FREETYPE_PLUTOSVG
# - add plutosvg + plutovg to imgui
if (HELLOIMGUI_FETCH_FORBIDDEN OR NOT HELLOIMGUI_DOWNLOAD_FREETYPE_IF_NEEDED)
if (HELLOIMGUI_FETCH_FORBIDDEN OR (NOT HELLOIMGUI_DOWNLOAD_FREETYPE_IF_NEEDED AND NOT HELLOIMGUI_FREETYPE_STATIC))
message(WARNING "Cannot add plutosvg because fetching is forbidden")
return()
endif()
Expand Down

0 comments on commit 6ba7c0e

Please sign in to comment.