We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 795f0d9 commit b0a6cb4Copy full SHA for b0a6cb4
cmake/gdal.cmake
@@ -16,7 +16,9 @@ find_package(GDAL 3.4 REQUIRED)
16
set_package_properties(GDAL PROPERTIES TYPE REQUIRED
17
PURPOSE "Provides general purpose raster, vector, and reference system support")
18
if (GDAL_FOUND)
19
- gdal_find_version(GDAL_VERSION)
+ if(NOT DEFINED GDAL_VERSION)
20
+ gdal_find_version(GDAL_VERSION)
21
+ endif()
22
#
23
# Older versions of FindGDAL.cmake don't properly set GDAL_VERSION
24
0 commit comments