Skip to content

Instantly share code, notes, and snippets.

@dokterbob
Last active May 24, 2019 20:26
Show Gist options
  • Save dokterbob/6d20d754ebf0d52896d1d26f631a06af to your computer and use it in GitHub Desktop.
Save dokterbob/6d20d754ebf0d52896d1d26f631a06af to your computer and use it in GitHub Desktop.
SAGA 7.2 build on macOS Mojave 10.14.5
#!/bin/sh
./configure \
--with-gdal=/Library/Frameworks/GDAL.framework/Versions/2.4/unix/bin/gdal-config \
--disable-odbc \
CXXFLAGS="-std=gnu++11" \
CPPFLAGS="-I/Library/Frameworks/PROJ.framework/Headers" \
LDFLAGS="-L/Library/Frameworks/PROJ.framework/unix/lib"
make -j8
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment