Skip to content

Commit

Permalink
Disable OGR GPSBabel driver
Browse files Browse the repository at this point in the history
This driver requires the gpsbabel binary to be present on the system to
be effective, which is obviously not compatible of WASM builds
  • Loading branch information
rouault authored and bugra9 committed Jan 31, 2024
1 parent b9dd5bf commit 7852e30
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ $(GDAL_SRC)/build/Makefile: $(ROOT_DIR)/lib/libsqlite3.a $(ROOT_DIR)/lib/libproj
rm -rf $(ROOT_DIR)/lib/cmake; \
mkdir build; \
cd build; \
$(EMCMAKE) cmake .. $(PREFIX_CMAKE) -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_APPS=OFF -DGDAL_ENABLE_DRIVER_PDS=OFF \
$(EMCMAKE) cmake .. $(PREFIX_CMAKE) -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release \
-DBUILD_APPS=OFF \
-DGDAL_ENABLE_DRIVER_PDS=OFF \
-DOGR_ENABLE_DRIVER_GPSBABEL=OFF \
-DCMAKE_PREFIX_PATH=$(ROOT_DIR) -DCMAKE_FIND_ROOT_PATH=$(ROOT_DIR) \
-DGDAL_USE_HDF5=OFF -DGDAL_USE_HDFS=OFF -DACCEPT_MISSING_SQLITE3_MUTEX_ALLOC=ON \
-DSQLite3_INCLUDE_DIR=$(ROOT_DIR)/include -DSQLite3_LIBRARY=$(ROOT_DIR)/lib/libsqlite3.a \
Expand Down

0 comments on commit 7852e30

Please sign in to comment.