diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index 957b404d94..c20242673f 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -142,6 +142,7 @@ if(AX_WITH_FREETYPE) set(SKIP_INSTALL_ALL TRUE CACHE BOOL "Skip freetype instal." FORCE) set(FT_DISABLE_HARFBUZZ TRUE CACHE BOOL "Disable HarfBuzz." FORCE) set(FT_DISABLE_BROTLI TRUE CACHE BOOL "Disable Brotli." FORCE) + set(FT_DISABLE_BZIP2 TRUE CACHE BOOL "Disable bzip2." FORCE) add_subdirectory(freetype) target_link_libraries(thirdparty freetype) configure_target_outdir(freetype)