mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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
|
||||
, libusb1, libpcap, libXt
|
||||
, libusb1, libpcap, libXt, libpng
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
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 = {
|
||||
homepage = http://pointclouds.org/;
|
||||
|
|
Loading…
Reference in a new issue