Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' into cmake-proj
  • Loading branch information
m-kuhn committed Sep 18, 2023
2 parents 789e92b + 6c0f98e commit f278268
Show file tree
Hide file tree
Showing 19 changed files with 210 additions and 283 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Expand Up @@ -360,8 +360,8 @@ if(WITH_CORE)
# required
find_package(Proj)
find_package(GEOS)
find_package(GDAL)
find_package(Expat REQUIRED)
find_package(GDAL REQUIRED)
find_package(EXPAT REQUIRED)
find_package(Spatialindex REQUIRED)
find_package(LibZip REQUIRED)

Expand Down Expand Up @@ -403,8 +403,8 @@ if(WITH_CORE)
set (HAVE_SPATIALITE TRUE)
endif()

if (NOT PROJ_FOUND OR NOT GEOS_FOUND OR NOT GDAL_FOUND)
message (SEND_ERROR "Some dependencies were not found! Proj: ${PROJ_FOUND}, Geos: ${GEOS_FOUND}, GDAL: ${GDAL_FOUND}")
if (NOT PROJ_FOUND OR NOT GEOS_FOUND)
message (SEND_ERROR "Some dependencies were not found! Proj: ${PROJ_FOUND}, Geos: ${GEOS_FOUND}")
endif()

if (POSTGRES_FOUND)
Expand Down
57 changes: 0 additions & 57 deletions cmake/FindExpat.cmake

This file was deleted.

0 comments on commit f278268

Please sign in to comment.