From 93ec1d1b71a94b0dc0c5591954b0d929526bf2a3 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Thu, 18 Mar 2021 21:04:13 +0000 Subject: [PATCH] freecad: add flatmesh library via '-D BUILD_FLAT_MESH:BOOL=ON' It's arguable that the FreeCAD flatmesh library should be included by default. The upstream FreeCAD appimages are provided with this library compiled in. See the following: https://github.com/FreeCAD/FreeCAD/commit/77a647010779d261679f6f1f965dacdfbf414c65 https://github.com/FreeCAD/FreeCAD_Conda/commit/5bcddb3b868fb68f4c6c2dd332e593c3ce448cc1 Update pkgs/applications/graphics/freecad/default.nix Co-authored-by: Sandro --- pkgs/applications/graphics/freecad/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/graphics/freecad/default.nix b/pkgs/applications/graphics/freecad/default.nix index 5a3dffd0c367..b74dcccb14e6 100644 --- a/pkgs/applications/graphics/freecad/default.nix +++ b/pkgs/applications/graphics/freecad/default.nix @@ -101,6 +101,7 @@ mkDerivation rec { ]; cmakeFlags = [ + "-DBUILD_FLAT_MESH:BOOL=ON" "-DBUILD_QT5=ON" "-DSHIBOKEN_INCLUDE_DIR=${shiboken2}/include" "-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"