mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
gmsh: Enable shared library
This allows use of the Python and other bindings.
This commit is contained in:
parent
fab9a5b367
commit
b2557f7653
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user