mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-24 06:00:18 +02:00
pdal: fix build on darwin
This commit is contained in:
parent
9a8d7bbfd1
commit
fcf02643f4
|
@ -8,6 +8,7 @@
|
||||||
, gdal
|
, gdal
|
||||||
, hdf5-cpp
|
, hdf5-cpp
|
||||||
, LASzip
|
, LASzip
|
||||||
|
, enableE57 ? lib.meta.availableOn stdenv.hostPlatform libe57format
|
||||||
, libe57format
|
, libe57format
|
||||||
, libgeotiff
|
, libgeotiff
|
||||||
, libxml2
|
, libxml2
|
||||||
|
@ -40,7 +41,6 @@ stdenv.mkDerivation rec {
|
||||||
gdal
|
gdal
|
||||||
hdf5-cpp
|
hdf5-cpp
|
||||||
LASzip
|
LASzip
|
||||||
libe57format
|
|
||||||
libgeotiff
|
libgeotiff
|
||||||
libxml2
|
libxml2
|
||||||
postgresql
|
postgresql
|
||||||
|
@ -48,10 +48,12 @@ stdenv.mkDerivation rec {
|
||||||
xercesc
|
xercesc
|
||||||
zlib
|
zlib
|
||||||
zstd
|
zstd
|
||||||
|
] ++ lib.optionals enableE57 [
|
||||||
|
libe57format
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_PLUGIN_E57=ON"
|
"-DBUILD_PLUGIN_E57=${if enableE57 then "ON" else "OFF"}"
|
||||||
"-DBUILD_PLUGIN_HDF=ON"
|
"-DBUILD_PLUGIN_HDF=ON"
|
||||||
"-DBUILD_PLUGIN_PGPOINTCLOUD=ON"
|
"-DBUILD_PLUGIN_PGPOINTCLOUD=ON"
|
||||||
"-DBUILD_PLUGIN_TILEDB=ON"
|
"-DBUILD_PLUGIN_TILEDB=ON"
|
||||||
|
|
Loading…
Reference in a new issue