Skip to content

Commit

Permalink
building_from_source.rst: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault authored Mar 25, 2024
1 parent 85638ba commit e1c7155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/development/building_from_source.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2114,7 +2114,7 @@ Example of minimal build with the JP2OpenJPEG and SVG drivers enabled::

cmake .. -UGDAL_ENABLE_DRIVER_* -UOGR_ENABLE_DRIVER_* \
-DGDAL_BUILD_OPTIONAL_DRIVERS:BOOL=OFF -DOGR_BUILD_OPTIONAL_DRIVERS:BOOL=OFF \
-DGDAL_ENABLE_DRIVER_JP2OPENPEG:BOOL=ON \
-DGDAL_ENABLE_DRIVER_JP2OPENJPEG:BOOL=ON \
-DOGR_ENABLE_DRIVER_SVG:BOOL=ON

Build drivers as plugins
Expand Down Expand Up @@ -2161,7 +2161,7 @@ Example of build with all potential drivers as plugins, except the JP2OpenJPEG o

cmake .. -UGDAL_ENABLE_DRIVER_* -UOGR_ENABLE_DRIVER_* \
-DGDAL_ENABLE_PLUGINS:BOOL=ON \
-DGDAL_ENABLE_DRIVER_JP2OPENPEG_PLUGIN:BOOL=OFF
-DGDAL_ENABLE_DRIVER_JP2OPENJPEG_PLUGIN:BOOL=OFF

There is a subtelty regarding ``GDAL_ENABLE_PLUGINS:BOOL=ON``. It only controls
the plugin status of plugin-capable drivers that have external dependencies,
Expand Down

0 comments on commit e1c7155

Please sign in to comment.