Skip to content

Commit 8c8bf45

Browse files
committed
Disable freetype for iOS/tvOS builds
The CI runners have Homebrew freetype installed for macOS, but find_package picks it up during iOS/tvOS cross-compilation due to permissive CMAKE_FIND_ROOT_PATH_MODE settings. Freetype is not available in the iOS/tvOS SDKs, so disable it.
1 parent 1625dcd commit 8c8bf45

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CMakePresets.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@
248248
"value": false
249249
},
250250
"Rust_CARGO_TARGET": "aarch64-apple-ios",
251+
"IMGUI_USE_FREETYPE": {
252+
"type": "BOOL",
253+
"value": false
254+
},
251255
"CMAKE_DISABLE_FIND_PACKAGE_BZip2": {
252256
"type": "BOOL",
253257
"value": true
@@ -285,6 +289,10 @@
285289
},
286290
"Rust_CARGO_TARGET": "aarch64-apple-tvos",
287291
"Rust_TOOLCHAIN": "nightly",
292+
"IMGUI_USE_FREETYPE": {
293+
"type": "BOOL",
294+
"value": false
295+
},
288296
"Rust_RUSTUP_INSTALL_MISSING_TARGET": {
289297
"type": "BOOL",
290298
"value": true

0 commit comments

Comments
 (0)