Skip to content

Commit

Permalink
empfix: always target link to pdfhummus zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhille committed Sep 8, 2024
1 parent a9c5cee commit 727a563
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/deps/FreeType/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,9 @@ endif ()

# set to use FT_CONFIG_OPTION_SYSTEM_ZLIB...or in other words...another zlib
target_compile_definitions(FreeType PUBLIC FT2_BUILD_LIBRARY=1 FT_CONFIG_OPTION_SYSTEM_ZLIB=1)
if(USING_UNBUNDLED_ZLIB)
target_link_libraries(FreeType ZLIB::ZLIB)
else(USING_UNBUNDLED_ZLIB)
target_link_libraries(FreeType PDFHummus::Zlib)
endif(USING_UNBUNDLED_ZLIB)

target_link_libraries(FreeType PDFHummus::Zlib)



target_include_directories(FreeType
Expand Down

0 comments on commit 727a563

Please sign in to comment.