1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

g2o: include dependencies necessary to build CHOLMOD

Previously, CHOLMOD was enabled but not built because blas and lapack were missing.
This commit is contained in:
Thomas Watson 2021-02-18 01:06:34 +00:00
parent fd2233556f
commit d6be909d9b

View file

@ -1,5 +1,5 @@
{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, eigen, suitesparse, libGLU
, qtbase, libqglviewer, makeWrapper }:
{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, eigen, suitesparse, blas
, lapack, libGLU, qtbase, libqglviewer, makeWrapper }:
mkDerivation rec {
pname = "g2o";
@ -18,7 +18,7 @@ mkDerivation rec {
separateDebugInfo = true;
nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ eigen suitesparse libGLU qtbase libqglviewer ];
buildInputs = [ eigen suitesparse blas lapack libGLU qtbase libqglviewer ];
# Silence noisy warning
CXXFLAGS = "-Wno-deprecated-copy";