about summary refs log tree commit diff
path: root/pkgs/development/libraries/gdcm
diff options
context:
space:
mode:
authorobadz <obadz-git@obadz.com>2016-07-22 20:00:11 +0100
committerobadz <obadz-git@obadz.com>2016-07-23 17:10:49 +0100
commita7e50112c68ce7c81fde1d1a7d97272741f73d0d (patch)
tree3323212371b25d193a046d5ca069f55b7583cf9e /pkgs/development/libraries/gdcm
parentb56a379fb6537fc4329fbbf1e16eae21bfba2969 (diff)
gdcm: add vtk dependency to get gdcmviewer
Diffstat (limited to 'pkgs/development/libraries/gdcm')
-rw-r--r--pkgs/development/libraries/gdcm/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gdcm/default.nix b/pkgs/development/libraries/gdcm/default.nix
index 0ca281b0722f2..c2121f31f1d22 100644
--- a/pkgs/development/libraries/gdcm/default.nix
+++ b/pkgs/development/libraries/gdcm/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake }:
+{ stdenv, fetchurl, cmake, vtk }:
 
 stdenv.mkDerivation rec {
   version = "2.4.6";
@@ -19,10 +19,11 @@ stdenv.mkDerivation rec {
   cmakeFlags = ''
     -DGDCM_BUILD_APPLICATIONS=ON
     -DGDCM_BUILD_SHARED_LIBS=ON
+    -DGDCM_USE_VTK=ON
   '';
 
   enableParallelBuilding = true;
-  buildInputs = [ cmake ];
+  buildInputs = [ cmake vtk ];
   propagatedBuildInputs = [ ];
 
   meta = {