mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Decapitalize FindSpatiaLite cmake file
This commit is contained in:
parent
e6785ba513
commit
ae6fad3dc4
@ -42,12 +42,14 @@ IF (APPLE)
|
||||
ENDIF (APPLE)
|
||||
|
||||
FIND_PATH(SPATIALITE_INCLUDE_DIR spatialite.h
|
||||
/usr/include
|
||||
"$ENV{INCLUDE}"
|
||||
"$ENV{LIB_DIR}/include"
|
||||
"$ENV{LIB_DIR}/include/spatialite"
|
||||
)
|
||||
|
||||
FIND_LIBRARY(SPATIALITE_LIBRARY NAMES spatialite spatialite_i PATHS
|
||||
/usr/lib
|
||||
$ENV{LIB}
|
||||
$ENV{LIB_DIR}/lib
|
||||
)
|
||||
@ -75,7 +77,7 @@ IF (SPATIALITE_FOUND)
|
||||
ELSE (SPATIALITE_FOUND)
|
||||
|
||||
IF (SPATIALITE_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR "Could not find SpatiaLite")
|
||||
MESSAGE(FATAL_ERROR "Could not find SpatiaLite. Include: ${SPATIALITE_INCLUDE_DIR} Library: ${SPATIALITE_LIBRARY}")
|
||||
ENDIF (SPATIALITE_FIND_REQUIRED)
|
||||
|
||||
ENDIF (SPATIALITE_FOUND)
|
Loading…
x
Reference in New Issue
Block a user