Skip to content

Commit aa29370

Browse files
committedMar 10, 2016
More debug output when dependencies are not found
1 parent ae6fad3 commit aa29370

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ IF (WITH_POSTGRESQL)
212212
FIND_PACKAGE(Postgres) # PostgreSQL provider
213213
ENDIF (WITH_POSTGRESQL)
214214

215-
FIND_PACKAGE(SPATIALITE REQUIRED)
215+
FIND_PACKAGE(SpatiaLite REQUIRED)
216216

217217
IF(SPATIALITE_VERSION_GE_4_0_0)
218218
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSPATIALITE_VERSION_GE_4_0_0")
@@ -225,7 +225,7 @@ IF(SPATIALITE_HAS_INIT_EX)
225225
ENDIF(SPATIALITE_HAS_INIT_EX)
226226

227227
IF (NOT PROJ_FOUND OR NOT GEOS_FOUND OR NOT GDAL_FOUND)
228-
MESSAGE (SEND_ERROR "Some dependencies were not found!")
228+
MESSAGE (SEND_ERROR "Some dependencies were not found! Proj: ${PROJ_FOUND}, Geos: ${GEOS_FOUND}, GDAL: ${GDAL_FOUND}")
229229
ENDIF (NOT PROJ_FOUND OR NOT GEOS_FOUND OR NOT GDAL_FOUND)
230230

231231
IF (POSTGRES_FOUND)

0 commit comments

Comments
 (0)
Please sign in to comment.