Skip to content

Commit

Permalink
missed a directory in r13269
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@13270 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 6, 2010
1 parent f2717b8 commit f5137f5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions src/providers/spatialite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ SET(SPATIALITE_MOC_HDRS qgsspatialiteprovider.h)

QT4_WRAP_CPP(SPATIALITE_MOC_SRCS ${SPATIALITE_MOC_HDRS})

INCLUDE_DIRECTORIES(
../../core
${SPATIALITE_INCLUDE_DIR}
${GEOS_INCLUDE_DIR}
)

INCLUDE_DIRECTORIES(../../core)

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

INCLUDE_DIRECTORIES(${GEOS_INCLUDE_DIR})

ADD_LIBRARY (spatialiteprovider MODULE ${SPATIALITE_SRCS} ${SPATIALITE_MOC_SRCS})

Expand Down
2 changes: 1 addition & 1 deletion src/providers/spatialite/qgsspatialiteprovider.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ email : a.furieri@lqt.it

extern "C"
{
#include <spatialite/sqlite3.h>
#include <sqlite3.h>
#include <spatialite/gaiageo.h>
#include <spatialite.h>
}
Expand Down

0 comments on commit f5137f5

Please sign in to comment.