Merge pull request #330068 from adisbladis/f3d-plugins

f3d: Add opencascade-occt & assimp plugins
This commit is contained in:
Peder Bergebakken Sundt
2024-07-27 16:16:01 +02:00
committed by GitHub
@@ -12,6 +12,9 @@
, Cocoa
, OpenGL
, python3Packages
, opencascade-occt
, assimp
, fontconfig
, withManual ? !stdenv.isDarwin
, withPythonBinding ? false
}:
@@ -42,6 +45,9 @@ stdenv.mkDerivation rec {
buildInputs = [
vtk_9
opencascade-occt
assimp
fontconfig
] ++ lib.optionals stdenv.isDarwin [
Cocoa
OpenGL
@@ -58,6 +64,8 @@ stdenv.mkDerivation rec {
"-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DCMAKE_INSTALL_BINDIR=bin"
"-DF3D_MODULE_EXTERNAL_RENDERING=ON"
"-DF3D_PLUGIN_BUILD_ASSIMP=ON"
"-DF3D_PLUGIN_BUILD_OCCT=ON"
] ++ lib.optionals withManual [
"-DF3D_LINUX_GENERATE_MAN=ON"
] ++ lib.optionals withPythonBinding [