~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/providers/osm/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########################################################
 
3
# Files
 
4
 
 
5
SET(OSM_SRCS
 
6
osmhandler.cpp
 
7
osmprovider.cpp
 
8
osmrenderer.cpp
 
9
osmstyle.cpp
 
10
)
 
11
 
 
12
SET(OSM_MOC_HDRS osmprovider.h)
 
13
 
 
14
 
 
15
########################################################
 
16
# Build
 
17
 
 
18
QT4_WRAP_CPP(OSM_MOC_SRCS ${OSM_MOC_HDRS})
 
19
 
 
20
INCLUDE_DIRECTORIES (
 
21
  ../../core
 
22
  ../../core/renderer
 
23
  ${GEOS_INCLUDE_DIR}
 
24
)
 
25
 
 
26
IF (WITH_INTERNAL_SPATIALITE)
 
27
  INCLUDE_DIRECTORIES(BEFORE ../../core/spatialite/headers/spatialite)
 
28
ELSE (WITH_INTERNAL_SPATIALITE)
 
29
  INCLUDE_DIRECTORIES(${SQLITE3_INCLUDE_DIR})
 
30
ENDIF (WITH_INTERNAL_SPATIALITE)
 
31
 
 
32
ADD_LIBRARY (osmprovider MODULE ${OSM_SRCS} ${OSM_MOC_SRCS})
 
33
 
 
34
TARGET_LINK_LIBRARIES (osmprovider
 
35
  qgis_core
 
36
)
 
37
 
 
38
 
 
39
########################################################
 
40
# Install
 
41
 
 
42
INSTALL(TARGETS osmprovider
 
43
  RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
 
44
  LIBRARY DESTINATION ${QGIS_PLUGIN_DIR})