forked from mirrors/nixpkgs
vigra: fix install
svn path=/nixpkgs/trunk/; revision=32362
This commit is contained in:
parent
e446dee4c3
commit
c1c3317f65
|
@ -11,10 +11,9 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ cmake fftw fftwSinglePrec libtiff libpng libjpeg python boost
|
buildInputs = [ cmake fftw fftwSinglePrec libtiff libpng libjpeg python boost
|
||||||
numpy hdf5 ];
|
numpy hdf5 ];
|
||||||
|
|
||||||
cmakeFlags = if (stdenv.system == "x86_64-linux") then
|
preConfigure = "cmakeFlags+=\" -DVIGRANUMPY_INSTALL_DIR=$out/lib/${python.libPrefix}/site-packages\"";
|
||||||
"-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC"
|
cmakeFlags = stdenv.lib.optionals (stdenv.system == "x86_64-linux")
|
||||||
else
|
[ "-DCMAKE_CXX_FLAGS=-fPIC" "-DCMAKE_C_FLAGS=-fPIC" ];
|
||||||
"";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Novel computer vision C++ library with customizable algorithms and data structures";
|
description = "Novel computer vision C++ library with customizable algorithms and data structures";
|
||||||
|
|
Loading…
Reference in a new issue