libLAS: fix build

This commit is contained in:
Lancelot SIX 2019-01-24 22:23:22 +01:00
parent 1b998ce854
commit 12ab4c3303
No known key found for this signature in database
GPG Key ID: 02E1542BA66FB047

View File

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
"-DGDAL_CONFIG=${gdal}/bin/gdal-config" "-DGDAL_CONFIG=${gdal}/bin/gdal-config"
"-DWITH_LASZIP=ON" "-DWITH_LASZIP=ON"
"-DLASZIP_INCLUDE_DIR=${LASzip}/include" "-DLASZIP_INCLUDE_DIR=${LASzip}/include"
"-DCMAKE_EXE_LINKER_FLAGS=-pthread"
]; ];
postFixup = stdenv.lib.optionalString stdenv.isDarwin '' postFixup = stdenv.lib.optionalString stdenv.isDarwin ''