pcl: fix build on darwin (#385701)

authored by Gaétan Lepage and committed by GitHub 7d4a1a9f 9c0711a5

+6 -5
+6 -5
pkgs/by-name/pc/pcl/package.nix
··· 14 libXt, 15 libpcap, 16 libusb1, 17 18 # nativeBuildInputs 19 boost, ··· 58 libpcap 59 libsForQt5.qtbase 60 libusb1 61 ]; 62 63 propagatedBuildInputs = [ ··· 82 description = "Open project for 2D/3D image and point cloud processing"; 83 changelog = "https://github.com/PointCloudLibrary/pcl/blob/pcl-${finalAttrs.version}/CHANGES.md"; 84 license = lib.licenses.bsd3; 85 - maintainers = with lib.maintainers; [ GaetanLepage ]; 86 platforms = with lib.platforms; linux ++ darwin; 87 - badPlatforms = [ 88 - # fatal error: 'omp.h' file not found 89 - lib.systems.inspect.patterns.isDarwin 90 - ]; 91 }; 92 })
··· 14 libXt, 15 libpcap, 16 libusb1, 17 + llvmPackages, 18 19 # nativeBuildInputs 20 boost, ··· 59 libpcap 60 libsForQt5.qtbase 61 libusb1 62 + llvmPackages.openmp 63 ]; 64 65 propagatedBuildInputs = [ ··· 84 description = "Open project for 2D/3D image and point cloud processing"; 85 changelog = "https://github.com/PointCloudLibrary/pcl/blob/pcl-${finalAttrs.version}/CHANGES.md"; 86 license = lib.licenses.bsd3; 87 + maintainers = with lib.maintainers; [ 88 + GaetanLepage 89 + usertam 90 + ]; 91 platforms = with lib.platforms; linux ++ darwin; 92 }; 93 })