File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,19 @@ SET(SPATIALITE_MOC_HDRS qgsspatialiteprovider.h)
12
12
13
13
QT4_WRAP_CPP(SPATIALITE_MOC_SRCS ${SPATIALITE_MOC_HDRS} )
14
14
15
- INCLUDE_DIRECTORIES (
16
- ../../core
17
- ${SPATIALITE_INCLUDE_DIR}
18
- ${GEOS_INCLUDE_DIR}
19
- )
15
+
16
+ INCLUDE_DIRECTORIES (../../core)
17
+
18
+ IF (WITH_INTERNAL_SPATIALITE)
19
+ INCLUDE_DIRECTORIES (
20
+ ../core/spatialite/headers
21
+ ../core/spatialite/headers/spatialite
22
+ )
23
+ ELSE (WITH_INTERNAL_SPATIALITE)
24
+ INCLUDE_DIRECTORIES (${SPATIALITE_INCLUDE_DIR} )
25
+ ENDIF (WITH_INTERNAL_SPATIALITE)
26
+
27
+ INCLUDE_DIRECTORIES (${GEOS_INCLUDE_DIR} )
20
28
21
29
ADD_LIBRARY (spatialiteprovider MODULE ${SPATIALITE_SRCS} ${SPATIALITE_MOC_SRCS} )
22
30
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ email : a.furieri@lqt.it
16
16
17
17
extern " C"
18
18
{
19
- #include < spatialite/ sqlite3.h>
19
+ #include < sqlite3.h>
20
20
#include < spatialite/gaiageo.h>
21
21
#include < spatialite.h>
22
22
}
You can’t perform that action at this time.
0 commit comments