diff options
Diffstat (limited to 'homebrew/liblas/.make.sh-auto')
-rw-r--r-- | homebrew/liblas/.make.sh-auto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/liblas/.make.sh-auto b/homebrew/liblas/.make.sh-auto new file mode 100644 index 000000000..c98f00d0c --- /dev/null +++ b/homebrew/liblas/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +ENV.cxx11 +mkdir "macbuild" && cd macbuild +ENV["Boost_INCLUDE_DIR"] = "#{HOMEBREW_PREFIX}/include" +ENV["Boost_LIBRARY_DIRS"] = "#{HOMEBREW_PREFIX}/lib" +cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DWITH_GDAL=ON -DWITH_GEOTIFF=ON +make +make test +make DESTDIR=${PKG_DEST} install |