gmsh: Enable shared library

This allows use of the Python and other bindings.
This commit is contained in:
Ben Gamari 2022-12-30 09:16:19 -05:00
parent fab9a5b367
commit b2557f7653

View File

@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
xorg.libICE
];
# N.B. the shared object is used by bindings
cmakeFlags = [
"-DENABLE_BUILD_SHARED=ON"
"-DENABLE_BUILD_DYNAMIC=ON"
];
nativeBuildInputs = [ cmake gfortran ];
doCheck = true;