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

« back to all changes in this revision

Viewing changes to src/providers/wfs/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:
2
2
########################################################
3
3
# Files
4
4
 
5
 
SET(WFS_SRCS qgswfsprovider.cpp)
 
5
SET(WFS_SRCS qgswfsprovider.cpp qgswfsdata.cpp)
6
6
 
7
 
SET (WFS_MOC_HDRS ""
 
7
SET (WFS_MOC_HDRS
 
8
     qgswfsdata.h
 
9
     qgswfsprovider.h
8
10
)
9
11
 
 
12
#IF(NOT MSVC)
 
13
#  IF (PEDANTIC)
 
14
#    MESSAGE("providers/wfs : -Werror removed for qgswfsprovider.cpp for now - please get rid of any compiler warnings!")
 
15
#  ENDIF (PEDANTIC)
 
16
#  SET_SOURCE_FILES_PROPERTIES(qgswfsprovider.cpp PROPERTIES COMPILE_FLAGS -Wno-error )
 
17
#ENDIF (NOT MSVC)
10
18
########################################################
11
19
# Build
12
20
 
14
22
 
15
23
INCLUDE_DIRECTORIES (
16
24
  ../../core
17
 
  ../../gui
18
 
  ${CMAKE_CURRENT_BINARY_DIR}/../../ui
 
25
  ../../core/spatialindex
19
26
  ${GEOS_INCLUDE_DIR}
20
27
  ${GEOS_INCLUDE_DIR}/geos
21
28
  ${EXPAT_INCLUDE_DIR}
22
 
  ${GDAL_INCLUDE_DIR}
23
29
)
24
30
 
25
31
ADD_LIBRARY (wfsprovider MODULE ${WFS_SRCS} ${WFS_MOC_SRCS})
26
32
 
27
33
TARGET_LINK_LIBRARIES (wfsprovider
28
 
  ${QT_LIBRARIES}
29
 
  ${GEOS_LIBRARY}
30
34
  ${EXPAT_LIBRARY}
31
 
  ${GDAL_LIBRARIES}
32
35
  qgis_core
33
36
)
34
37