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 <sandro.jaeckel@gmail.com>
This commit is contained in:
matthewcroughan
2021-03-18 22:46:57 +00:00
co-authored by Sandro
parent 0408ccf4ff
commit 93ec1d1b71
@@ -101,6 +101,7 @@ mkDerivation rec {
];
cmakeFlags = [
"-DBUILD_FLAT_MESH:BOOL=ON"
"-DBUILD_QT5=ON"
"-DSHIBOKEN_INCLUDE_DIR=${shiboken2}/include"
"-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"