summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f7663bc..7a2ee79 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -143,10 +143,16 @@ endif()
CPMAddPackage(
- NAME Freetype
- GITHUB_REPOSITORY freetype/freetype
- VERSION 2.10.4
- GIT_TAG VER-2-10-4
+ NAME Freetype
+ GITHUB_REPOSITORY freetype/freetype
+ VERSION 2.10.4
+ GIT_TAG VER-2-10-4
+ OPTIONS
+ "CMAKE_DISABLE_FIND_PACKAGE_ZLIB TRUE"
+ "CMAKE_DISABLE_FIND_PACKAGE_BZip2 TRUE"
+ "CMAKE_DISABLE_FIND_PACKAGE_PNG TRUE"
+ "CMAKE_DISABLE_FIND_PACKAGE_HarfBuzz TRUE"
+ "CMAKE_DISABLE_FIND_PACKAGE_BrotliDec TRUE"
)
export(EXPORT freetype-targets)