pcl: fix CUDA support
The documentation [1] and upstream CI [2] define additional flags to enable CUDA support. [1]: https://pointclouds.org/documentation/tutorials/gpu_install.html [2]: https://github.com/PointCloudLibrary/pcl/blob/d3769b16170f73df40fc23bb7473b5f2fdcfac06/.ci/azure-pipelines/build/ubuntu.yaml
This commit is contained in:
@@ -71,8 +71,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
vtk
|
||||
];
|
||||
|
||||
cmakeFlags = lib.optionals cudaSupport [
|
||||
(lib.cmakeBool "WITH_CUDA" true)
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_CUDA" cudaSupport)
|
||||
(lib.cmakeBool "BUILD_GPU" cudaSupport)
|
||||
(lib.cmakeBool "WITH_CUDA" cudaSupport)
|
||||
];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
|
||||
Reference in New Issue
Block a user