mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 06:28:50 +03:00
openmvg: use ceres-solver from nixpkgs
The vendored one gets built with -march=native
This commit is contained in:
parent
081eb4d889
commit
ebc120c155
@ -4,6 +4,7 @@
|
|||||||
, libpng ? null
|
, libpng ? null
|
||||||
, eigen ? null
|
, eigen ? null
|
||||||
, libtiff ? null
|
, libtiff ? null
|
||||||
|
, ceres-solver
|
||||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||||
, enableExamples ? false
|
, enableExamples ? false
|
||||||
, enableDocs ? false }:
|
, enableDocs ? false }:
|
||||||
@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libjpeg zlib libpng eigen libtiff cereal openmp ];
|
buildInputs = [ libjpeg zlib libpng eigen libtiff cereal openmp ceres-solver ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user