File tree 2 files changed +11
-2
lines changed
src/plugins/offline_editing
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,21 @@ QT4_ADD_RESOURCES(offline_editing_plugin_RCC_SRCS ${offline_editing_plugin_RCCS}
34
34
35
35
ADD_LIBRARY (offlineeditingplugin MODULE ${offline_editing_plugin_SRCS} ${offline_editing_plugin_MOC_SRCS} ${offline_editing_plugin_RCC_SRCS} ${offline_editing_plugin_UIS_H} )
36
36
37
+ IF (WITH_INTERNAL_SPATIALITE)
38
+ INCLUDE_DIRECTORIES (../../core/spatialite/headers)
39
+ INCLUDE_DIRECTORIES (../../core/spatialite/headers/spatialite)
40
+ ELSE (WITH_INTERNAL_SPATIALITE)
41
+ INCLUDE_DIRECTORIES (${SPATIALITE_INCLUDE_DIR} )
42
+ INCLUDE_DIRECTORIES (${SQLITE3_INCLUDE_DIR} )
43
+ ADD_DEFINITIONS (-DEXTERNAL_SPATIALITE)
44
+ ENDIF (WITH_INTERNAL_SPATIALITE)
45
+
37
46
INCLUDE_DIRECTORIES (
38
47
${CMAKE_CURRENT_BINARY_DIR}
39
- ${SQLITE3_INCLUDE_DIR} ${SPATIALITE_INCLUDE_DIR}
40
48
../../core ../../core/raster ../../core/renderer ../../core/symbology
41
49
../../gui
42
50
..
51
+ ${GEOS_INCLUDE_DIR}
43
52
)
44
53
45
54
TARGET_LINK_LIBRARIES (offlineeditingplugin
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class QgsLegendInterface;
29
29
class QgsMapLayer ;
30
30
class QgsOfflineEditingProgressDialog ;
31
31
class QgsVectorLayer ;
32
- class sqlite3 ;
32
+ struct sqlite3 ;
33
33
34
34
class QgsOfflineEditing : public QObject
35
35
{
You can’t perform that action at this time.
0 commit comments