build-all.py - explicitly disable xlib

I assume it's not needed, but Desktop Ubuntu seems to trying to build it anyway and fails since `libx11-dev` is missing.
This commit is contained in:
Andrej730
2025-09-16 18:09:44 +05:00
parent c384ac26cd
commit 1dd3c298df
+2
View File
@@ -790,6 +790,8 @@ if USE_OCCT and "occ" in targets:
f"-DBUILD_LIBRARY_TYPE={LINK_TYPE_UCFIRST}",
f"-DBUILD_MODULE_Draw=0",
f"-DBUILD_RELEASE_DISABLE_EXCEPTIONS=Off",
# Disable xlib explicitly, as it tries to use it on Desktop Ubuntu, adding unnecessary dependency.
f"-DUSE_XLIB=OFF",
f"-D3RDPARTY_FREETYPE_DIR={DEPS_DIR}/install/freetype",
],
download_url="https://github.com/Open-Cascade-SAS/OCCT",