diff options
| author | Peter Polidoro <peter@polidoro.io> | 2026-02-01 14:50:18 -0500 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 23:08:22 +0100 |
| commit | c7fe80064ffcae4fbcce15eeb3ac46a8de388058 (patch) | |
| tree | 5af19aa0251900101a7c1c803dc66fba9ca571d1 | |
| parent | 825a1c02519ff090f00c8a3bd2c4403185c7dc4d (diff) | |
gnu: opencascade-occt: Add RapidJson and Draco support.
* gnu/packages/maths.scm (opencascade-occt)[inputs]: Add draco and
rapidjson.
[arguments]<#:configure-flags>: Enable Draco (for mesh-compression)
and RapidJson (for the glTF writer).
Change-Id: Id09f31e3be9798c77380ec0958eb8f9fe6d7b71b
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/maths.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 554cdbb2760..8b08d5c1f36 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -73,6 +73,7 @@ ;;; Copyright © 2025 nomike Postmann <nomike@nomike.com> ;;; Copyright © 2025 Reza Housseini <reza@housseini.me> ;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org> +;;; Copyright © 2026 Peter Polidoro <peter@polidoro.io> ;;; ;;; This file is part of GNU Guix. ;;; @@ -3546,7 +3547,9 @@ script files.") #:tests? #f #:configure-flags #~(list "-DCMAKE_CXX_FLAGS=-fpermissive" ;from unsigned char* to char* + "-DUSE_DRACO:BOOL=ON" "-DUSE_FREEIMAGE:BOOL=ON" + "-DUSE_RAPIDJSON:BOOL=ON" "-DUSE_TBB:BOOL=ON" "-DUSE_VTK:BOOL=OFF" "-DBUILD_DOC_Overview:BOOL=OFF" @@ -3555,7 +3558,8 @@ script files.") "-UCMAKE_INSTALL_LIBDIR"))) (native-inputs (list doxygen fontconfig)) (inputs - (list freetype + (list draco + freetype freeimage glu libxext @@ -3563,6 +3567,7 @@ script files.") libxmu mesa onetbb + rapidjson tcl tk)) ;; TODO: build Overview documentation and add 'doc' output. |
