mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Fix check
This commit is contained in:
parent
6257874a40
commit
ed6b7b9c17
@ -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}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user