Skip to content
Permalink
Browse files
fix build
  • Loading branch information
jef-n committed Jan 15, 2013
1 parent 33a6aa6 commit 0dbb781fd50910213af700af33865904463c2482
Showing with 4 additions and 6 deletions.
  1. +0 −4 src/app/CMakeLists.txt
  2. +3 −1 src/core/CMakeLists.txt
  3. +1 −1 src/core/qgsofflineediting.h
@@ -501,10 +501,6 @@ IF (POSTGRES_FOUND)
TARGET_LINK_LIBRARIES (${QGIS_APP_NAME} ${POSTGRES_LIBRARY})
ENDIF (POSTGRES_FOUND)

IF (SPATIALITE_FOUND)
TARGET_LINK_LIBRARIES (${QGIS_APP_NAME} ${SPATIALITE_LIBRARY})
ENDIF (SPATIALITE_FOUND)

IF(MSVC)
INSTALL(FILES qgis.ico DESTINATION ${CMAKE_INSTALL_PREFIX}/icons)
ENDIF(MSVC)
@@ -269,6 +269,8 @@ IF (WITH_INTERNAL_SPATIALITE)
ENDIF(MSVC)

INCLUDE_DIRECTORIES(BEFORE spatialite/headers/spatialite spatialite/headers)
ELSE (WITH_INTERNAL_SPATIALITE)
ADD_DEFINITIONS(-DEXTERNAL_SPATIALITE)
ENDIF (WITH_INTERNAL_SPATIALITE)

ADD_FLEX_FILES(QGIS_CORE_SRCS qgsexpressionlexer.ll)
@@ -607,7 +609,7 @@ IF (WITH_INTERNAL_SPATIALITE)
TARGET_LINK_LIBRARIES(qgis_core pthread ${CMAKE_DL_LIBS})
ENDIF (UNIX AND NOT ANDROID)
ELSE (WITH_INTERNAL_SPATIALITE)
TARGET_LINK_LIBRARIES(qgis_core ${SQLITE3_LIBRARY})
TARGET_LINK_LIBRARIES(qgis_core ${SQLITE3_LIBRARY} ${SPATIALITE_LIBRARY})
ENDIF (WITH_INTERNAL_SPATIALITE)

# install
@@ -29,7 +29,7 @@ class QgsMapLayer;
class QgsVectorLayer;
struct sqlite3;

class QgsOfflineEditing : public QObject
class CORE_EXPORT QgsOfflineEditing : public QObject
{
Q_OBJECT

0 comments on commit 0dbb781

Please sign in to comment.