lol

pdal: fix build on darwin

+4 -2
+4 -2
pkgs/development/libraries/pdal/default.nix
··· 8 8 , gdal 9 9 , hdf5-cpp 10 10 , LASzip 11 + , enableE57 ? lib.meta.availableOn stdenv.hostPlatform libe57format 11 12 , libe57format 12 13 , libgeotiff 13 14 , libxml2 ··· 40 41 gdal 41 42 hdf5-cpp 42 43 LASzip 43 - libe57format 44 44 libgeotiff 45 45 libxml2 46 46 postgresql ··· 48 48 xercesc 49 49 zlib 50 50 zstd 51 + ] ++ lib.optionals enableE57 [ 52 + libe57format 51 53 ]; 52 54 53 55 cmakeFlags = [ 54 - "-DBUILD_PLUGIN_E57=ON" 56 + "-DBUILD_PLUGIN_E57=${if enableE57 then "ON" else "OFF"}" 55 57 "-DBUILD_PLUGIN_HDF=ON" 56 58 "-DBUILD_PLUGIN_PGPOINTCLOUD=ON" 57 59 "-DBUILD_PLUGIN_TILEDB=ON"