File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,19 @@ function(add_app_dependencies)
87
87
)
88
88
list (APPEND EXTERNAL_LINKS volk )
89
89
90
+ # Freetype
91
+ CPMAddPackage (
92
+ NAME freetype
93
+ GITHUB_REPOSITORY libsdl-org/freetype
94
+ GIT_TAG VER-2-13-3
95
+ OPTIONS
96
+ "FT_DISABLE_HARFBUZZ ON"
97
+ "FT_WITH_HARFBUZZ OFF"
98
+ SOURCE_DIR "${EXTERNAL_DIR} /freetype"
99
+ )
100
+ add_library (Freetype::Freetype ALIAS freetype )
101
+ list (APPEND EXTERNAL_LINKS freetype )
102
+
90
103
# SDL
91
104
# if (CONNECTION_MACHINE_BUILD_TESTS) # hack to allow SDL to build without window system on linux
92
105
# set(SDL_UNIX_CONSOLE_BUILD ON)
@@ -113,19 +126,6 @@ function(add_app_dependencies)
113
126
target_include_directories (stb_image INTERFACE ${stb_image_SOURCE_DIR} )
114
127
endif ()
115
128
list (APPEND EXTERNAL_LINKS stb_image )
116
-
117
- # Freetype
118
- CPMAddPackage (
119
- NAME freetype
120
- GITHUB_REPOSITORY libsdl-org/freetype
121
- GIT_TAG VER-2-13-3
122
- # OPTIONS
123
- # "FT_DISABLE_HARFBUZZ ON"
124
- # "FT_WITH_HARFBUZZ OFF"
125
- SOURCE_DIR "${EXTERNAL_DIR} /freetype"
126
- )
127
- add_library (Freetype::Freetype ALIAS freetype )
128
- list (APPEND EXTERNAL_LINKS freetype )
129
129
130
130
# RmlUi
131
131
CPMAddPackage (
You can’t perform that action at this time.
0 commit comments