3
0
Fork 0
forked from mirrors/nixpkgs

pcl: 1.12.0 propagation fix

This commit is contained in:
Mike Purvis 2021-09-09 19:38:16 +00:00
parent 2e04b29a17
commit ed4e0e942e

View file

@ -12,6 +12,7 @@
, qtbase
, libusb1
, libpcap
, libtiff
, libXt
, libpng
, Cocoa
@ -33,20 +34,24 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config cmake wrapQtAppsHook ];
buildInputs = [
qhull
flann
boost
eigen
libusb1
libpcap
libpng
vtk
qtbase
libXt
]
++ lib.optionals stdenv.isDarwin [ Cocoa AGL ]
++ lib.optionals withCuda [ cudatoolkit ];
propagatedBuildInputs = [
boost
flann
libpng
libtiff
qhull
vtk
];
cmakeFlags = lib.optionals stdenv.isDarwin [
"-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks"
] ++ lib.optionals withCuda [ "-DWITH_CUDA=true" ];