summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/applications/science/math/gmsh/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/gmsh/default.nix b/pkgs/applications/science/math/gmsh/default.nix
index 22eee8b305a..23c1e1dab2a 100644
--- a/pkgs/applications/science/math/gmsh/default.nix
+++ b/pkgs/applications/science/math/gmsh/default.nix
@@ -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;