Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-01-21 22:58:00 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-01-21 23:36:00 +0300
commite07b217669e227eda80d1f7b341c875a2d05dc5e (patch)
tree391b069901dd49e9f8ad36111d85c26688a38db0 /build_files
parent32ceb0b80710473c9a9b818da23919f184fa3aae (diff)
Build: update macOS for FreeType library with woff2 support
Ref D13448, T93161
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/platform/platform_apple.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index 447645b6806..8acea1be841 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -166,7 +166,11 @@ if(WITH_FFTW3)
find_package(Fftw3)
endif()
+# FreeType compiled with Brotli compression for woff2.
find_package(Freetype REQUIRED)
+list(APPEND FREETYPE_LIBRARIES
+ ${LIBDIR}/brotli/lib/libbrotlicommon-static.a
+ ${LIBDIR}/brotli/lib/libbrotlidec-static.a)
if(WITH_IMAGE_OPENEXR)
find_package(OpenEXR)