summary refs log tree commit diff
path: root/pkgs/development/libraries/vxl
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-03-07 10:16:53 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-03-07 10:16:53 +0000
commitef568bf192fed23432179c3f0e6a3f6ab513062c (patch)
tree101e83774a38e97ca382a8b80e21888530a7a02a /pkgs/development/libraries/vxl
parented325cd1ae2aa04044909c88e6f46e0edcb31f83 (diff)
Fixing the vxl build.
svn path=/nixpkgs/trunk/; revision=32848
Diffstat (limited to 'pkgs/development/libraries/vxl')
-rw-r--r--pkgs/development/libraries/vxl/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/vxl/default.nix b/pkgs/development/libraries/vxl/default.nix
index c9ba078a6fab7..01ccb23b77cf8 100644
--- a/pkgs/development/libraries/vxl/default.nix
+++ b/pkgs/development/libraries/vxl/default.nix
@@ -9,11 +9,12 @@ stdenv.mkDerivation {
 
   buildInputs = [ cmake unzip libtiff expat zlib libpng libjpeg ];
 
-  cmakeFlags = if (stdenv.system == "x86_64-linux") then
+  cmakeFlags = "-DBUILD_TESTING=OFF " + (if (stdenv.system == "x86_64-linux") then
       "-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC"
     else
-      "";
-    
+      "");
+
+  enableParallelBuilding = true;
 
   meta = {
     description = "C++ Libraries for Computer Vision Research and Implementation";