From b2c485b6c0f32824ca0634bc1fc2fcbf48aaed58 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Wed, 29 Jan 2025 13:37:31 +1000 Subject: [PATCH] Fix check --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6771d37a1b8f..ae18788eca5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}")