Skip to content

Commit

Permalink
make GDAL be required for Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgerlek committed Oct 14, 2014
1 parent e00ea19 commit a7e0ddb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions scripts/ci/before_install.sh
Expand Up @@ -40,11 +40,16 @@ else
sudo apt-get install cmake
fi


# GDAL is now always required
sudo apt-get install \
libgdal1h \
libgdal-dev


if [[ $PDAL_OPTIONAL_COMPONENTS == "all" ]]
then
sudo apt-get install \
libgdal1h \
libgdal-dev \
libhdf5-serial-dev \
libproj-dev \
libgeos++-dev \
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/script.sh
Expand Up @@ -32,7 +32,7 @@ cmake \
-DWITH_APPS=ON \
-DWITH_TESTS=ON \
-DWITH_PKGCONFIG=ON \
-DWITH_GDAL=$OPTIONAL_COMPONENT_SWITCH \
-DWITH_GDAL=ON \
-DWITH_GEOTIFF=$OPTIONAL_COMPONENT_SWITCH \
-DWITH_ORACLE=$OPTIONAL_COMPONENT_SWITCH \
-DWITH_ICONV=$OPTIONAL_COMPONENT_SWITCH \
Expand Down

0 comments on commit a7e0ddb

Please sign in to comment.