pcl: build with PCL_ENABLE_MARCHNATIVE=false

This defaults to true, which causes the CC wrappers to issue warnings:

warning: Skipping impure flag -march=native because
NIX_ENFORCE_NO_NATIVE is set
This commit is contained in:
Alex James
2025-05-18 16:13:31 -05:00
parent 04ae6a50ed
commit e9911feb1f
+1
View File
@@ -74,6 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [
(lib.cmakeBool "BUILD_CUDA" cudaSupport)
(lib.cmakeBool "BUILD_GPU" cudaSupport)
(lib.cmakeBool "PCL_ENABLE_MARCHNATIVE" false)
(lib.cmakeBool "WITH_CUDA" cudaSupport)
];