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:
77a6470107
5bcddb3b86

Update pkgs/applications/graphics/freecad/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
matthewcroughan 2021-03-18 21:04:13 +00:00
parent 0408ccf4ff
commit 93ec1d1b71

View File

@ -101,6 +101,7 @@ mkDerivation rec {
];
cmakeFlags = [
"-DBUILD_FLAT_MESH:BOOL=ON"
"-DBUILD_QT5=ON"
"-DSHIBOKEN_INCLUDE_DIR=${shiboken2}/include"
"-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"