Skip to content

Commit

Permalink
Add freetype alias if necessary in msdfgenConfig.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Dec 1, 2024
1 parent 48a1c78 commit 7293c65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/msdfgenConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ set(MSDFGEN_DISABLE_PNG @MSDFGEN_DISABLE_PNG@)

if(NOT MSDFGEN_CORE_ONLY)
find_dependency(Freetype REQUIRED)
if(NOT TARGET freetype)
add_library(freetype ALIAS Freetype::Freetype)
endif()
if(NOT MSDFGEN_DISABLE_SVG)
find_dependency(tinyxml2 REQUIRED)
endif()
Expand Down

0 comments on commit 7293c65

Please sign in to comment.