Require PROJ >= 8.2

This commit is contained in:
Nyall Dawson 2025-01-29 11:00:08 +10:00
parent 5af35f6290
commit 9fab88eb4e
2 changed files with 5 additions and 1 deletions

View File

@ -435,6 +435,10 @@ if(WITH_CORE)
# required
find_package(Proj REQUIRED)
message(STATUS "Found Proj: ${PROJ_VERSION} ${PROJ_DIR}")
if(PROJ_VERSION_MAJOR LESS 8 OR (PROJ_VERSION_MAJOR EQUAL 8 AND (PROJ_VERSION_MINOR LESS 2)))
message(FATAL_ERROR "Cannot build QGIS using Proj older than 8.2")
endif(PROJ_VERSION_MAJOR LESS 8 OR (PROJ_VERSION_MAJOR EQUAL 8 AND (PROJ_VERSION_MINOR LESS 2)))
find_package(GEOS REQUIRED)
message(STATUS "Found Geos: ${GEOS_VERSION} ${GEOS_DIR}")
find_package(GDAL REQUIRED)

View File

@ -106,7 +106,7 @@ Required build tools:
Required build dependencies:
* Qt >= 5.15.2
* Proj >= 7.2.0
* Proj >= 8.2.0
* GEOS >= 3.9
* Sqlite3 >= 3.0.0
* SpatiaLite >= 4.2.0