Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
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 4dd7664
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion src/plugins/offline_editing/CMakeLists.txt
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/offline_editing/offline_editing.h
Expand Up @@ -29,7 +29,7 @@ class QgsLegendInterface;
class QgsMapLayer;
class QgsOfflineEditingProgressDialog;
class QgsVectorLayer;
class sqlite3;
struct sqlite3;

class QgsOfflineEditing : public QObject
{
Expand Down

0 comments on commit 4dd7664

Please sign in to comment.