mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 21:42:35 +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
|
||||
, eigen ? null
|
||||
, libtiff ? null
|
||||
, ceres-solver
|
||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||
, enableExamples ? false
|
||||
, enableDocs ? false }:
|
||||
@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
buildInputs = [ libjpeg zlib libpng eigen libtiff cereal openmp ];
|
||||
buildInputs = [ libjpeg zlib libpng eigen libtiff cereal openmp ceres-solver ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user