opencascade-occt: Build with rapidjson to enable glTF export in FreeCAD (#360467)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
fetchpatch,
|
||||
cmake,
|
||||
ninja,
|
||||
rapidjson,
|
||||
tcl,
|
||||
tk,
|
||||
libGL,
|
||||
@@ -48,9 +49,11 @@ stdenv.mkDerivation rec {
|
||||
libXext
|
||||
libXmu
|
||||
libXi
|
||||
rapidjson
|
||||
] ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Cocoa;
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-fpermissive" ];
|
||||
cmakeFlags = [ "-DUSE_RAPIDJSON=ON" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";
|
||||
|
||||
Reference in New Issue
Block a user