Skip to content
Permalink
Browse files
fix windows build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14337 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Oct 5, 2010
1 parent 815b4c7 commit 4dd76646bc0b4ba4f286957922c1842946957f38
Showing with 11 additions and 2 deletions.
  1. +10 −1 src/plugins/offline_editing/CMakeLists.txt
  2. +1 −1 src/plugins/offline_editing/offline_editing.h
@@ -34,12 +34,21 @@ QT4_ADD_RESOURCES(offline_editing_plugin_RCC_SRCS ${offline_editing_plugin_RCCS}

ADD_LIBRARY (offlineeditingplugin MODULE ${offline_editing_plugin_SRCS} ${offline_editing_plugin_MOC_SRCS} ${offline_editing_plugin_RCC_SRCS} ${offline_editing_plugin_UIS_H})

IF (WITH_INTERNAL_SPATIALITE)
INCLUDE_DIRECTORIES(../../core/spatialite/headers)
INCLUDE_DIRECTORIES(../../core/spatialite/headers/spatialite)
ELSE (WITH_INTERNAL_SPATIALITE)
INCLUDE_DIRECTORIES(${SPATIALITE_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${SQLITE3_INCLUDE_DIR})
ADD_DEFINITIONS(-DEXTERNAL_SPATIALITE)
ENDIF (WITH_INTERNAL_SPATIALITE)

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
${SQLITE3_INCLUDE_DIR} ${SPATIALITE_INCLUDE_DIR}
../../core ../../core/raster ../../core/renderer ../../core/symbology
../../gui
..
${GEOS_INCLUDE_DIR}
)

TARGET_LINK_LIBRARIES(offlineeditingplugin
@@ -29,7 +29,7 @@ class QgsLegendInterface;
class QgsMapLayer;
class QgsOfflineEditingProgressDialog;
class QgsVectorLayer;
class sqlite3;
struct sqlite3;

class QgsOfflineEditing : public QObject
{

0 comments on commit 4dd7664

Please sign in to comment.