summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-07-05 11:59:17 +0200
committerLaG1924 <lag1924@gmail.com>2021-07-05 12:00:02 +0200
commit48b543f81d8cb9b8cf43dcce90312637176cc5fd (patch)
treecf7284e386ee33955ddc90763870885101f1fb79 /CMakeLists.txt
parentFixed build for Windows-x86 (diff)
downloadAltCraft-48b543f81d8cb9b8cf43dcce90312637176cc5fd.tar
AltCraft-48b543f81d8cb9b8cf43dcce90312637176cc5fd.tar.gz
AltCraft-48b543f81d8cb9b8cf43dcce90312637176cc5fd.tar.bz2
AltCraft-48b543f81d8cb9b8cf43dcce90312637176cc5fd.tar.lz
AltCraft-48b543f81d8cb9b8cf43dcce90312637176cc5fd.tar.xz
AltCraft-48b543f81d8cb9b8cf43dcce90312637176cc5fd.tar.zst
AltCraft-48b543f81d8cb9b8cf43dcce90312637176cc5fd.zip
Diffstat (limited to '')
-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)