Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 29, 2025
1 parent 06c7a81 commit b2c485b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,9 @@ if(WITH_CORE)
# required
find_package(Proj REQUIRED)
message(STATUS "Found Proj: ${PROJ_VERSION} ${PROJ_DIR}")
if(PROJ_VERSION_MAJOR VERSION_LESS "8.1")
if(PROJ_VERSION VERSION_LESS "8.1")
message(FATAL_ERROR "Cannot build QGIS using Proj older than 8.1")
endif(PROJ_VERSION_MAJOR VERSION_LESS "8.1")
endif(PROJ_VERSION VERSION_LESS "8.1")

find_package(GEOS REQUIRED)
message(STATUS "Found Geos: ${GEOS_VERSION} ${GEOS_DIR}")
Expand Down

0 comments on commit b2c485b

Please sign in to comment.