-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: yifan.wu <[email protected]> Change-Id: I3adcf4b27deb0953e059c3e7fa9b9d49e447c57b (cherry picked from commit 400cff06210c62e4019ff6f7174216d2faeaa8e2)
- Loading branch information
1 parent
d6a6fad
commit 13b7116
Showing
5 changed files
with
45 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
if(WIN32) | ||
set(library_build_shared "1") | ||
else() | ||
set(library_build_shared "0") | ||
endif() | ||
|
||
bambustudio_add_cmake_project(FREETYPE | ||
URL https://mirror.ossplanet.net/nongnu/freetype/freetype-2.12.1.tar.gz | ||
URL_HASH SHA256=efe71fd4b8246f1b0b1b9bfca13cfff1c9ad85930340c27df469733bbb620938 | ||
#DEPENDS ${ZLIB_PKG} | ||
#"${_patch_step}" | ||
CMAKE_ARGS | ||
-D BUILD_SHARED_LIBS=${library_build_shared} | ||
-D FT_DISABLE_ZLIB=TRUE | ||
-D FT_DISABLE_BZIP2=TRUE | ||
-D FT_DISABLE_PNG=TRUE | ||
-D FT_DISABLE_HARFBUZZ=TRUE | ||
-D FT_DISABLE_BROTLI=TRUE | ||
) | ||
|
||
if(MSVC) | ||
add_debug_dep(dep_FREETYPE) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters