diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-03-07 10:16:53 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-03-07 10:16:53 +0000 |
commit | ef568bf192fed23432179c3f0e6a3f6ab513062c (patch) | |
tree | 101e83774a38e97ca382a8b80e21888530a7a02a /pkgs/development/libraries/vxl | |
parent | ed325cd1ae2aa04044909c88e6f46e0edcb31f83 (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.nix | 7 |
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"; |