pcl: buildable without GUI components
One can build pcl with vtk, qt4, and libXt set to null iff libpng is explicitly listed as a dependency. pcl's build system is happy to proceed without those GUI-related packages as long as libpng is available.
This commit is contained in:
parent
25cc1c12fe
commit
50e16a29be
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchzip, cmake, qhull, flann, boost, vtk, eigen, pkgconfig, qt4
|
{ stdenv, fetchzip, cmake, qhull, flann, boost, vtk, eigen, pkgconfig, qt4
|
||||||
, libusb1, libpcap, libXt
|
, libusb1, libpcap, libXt, libpng
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [ cmake qhull flann boost vtk eigen pkgconfig qt4 libusb1 libpcap libXt ];
|
buildInputs = [ cmake qhull flann boost eigen pkgconfig libusb1 libpcap
|
||||||
|
libpng vtk qt4 libXt ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://pointclouds.org/;
|
homepage = http://pointclouds.org/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user