Skip to content

Commit 4f0fe1b

Browse files
committed
wfs in core needs expat
1 parent 28ca48c commit 4f0fe1b

File tree

5 files changed

+7
-11
lines changed

5 files changed

+7
-11
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ ENDIF(NOT WIN32 AND NOT ANDROID)
161161
FIND_PACKAGE(Proj)
162162
FIND_PACKAGE(GEOS)
163163
FIND_PACKAGE(GDAL)
164-
FIND_PACKAGE(Expat)
164+
FIND_PACKAGE(Expat REQUIRED)
165165
FIND_PACKAGE(Spatialindex REQUIRED)
166166
FIND_PACKAGE(Qwt REQUIRED)
167167

doc/overview.t2t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ Required build deps:
2121
- Sqlite3 >= 3.0.0
2222
- GDAL/OGR >= 1.4.x
2323
- Qwt >= 5.0
24+
- expat >= 1.95
2425
-
2526

2627
Optional dependencies:
2728

2829
- for GRASS plugin - GRASS >= 6.0.0 (libraries compiled with exceptions support on Linux 32bit)
2930
- for georeferencer - GSL >= 1.8
3031
- for postgis support and SPIT plugin - PostgreSQL >= 8.0.x
31-
- for gps plugin - expat >= 1.95 and gpsbabel
32+
- for gps plugin - gpsbabel
3233
- for mapserver export and PyQGIS - Python >= 2.3 (2.5+ preferred)
3334
- for python support - SIP >= 4.8, PyQt >= must match Qt version, Qscintilla2
3435
- for qgis mapserver - FastCGI

src/core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ TARGET_LINK_LIBRARIES(qgis_core
590590
${GEOS_LIBRARY}
591591
${GDAL_LIBRARY}
592592
${SPATIALINDEX_LIBRARY}
593+
${EXPAT_LIBRARY}
593594
)
594595
595596
IF (WITH_INTERNAL_SPATIALITE)

src/plugins/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ADD_SUBDIRECTORY(sqlanywhere)
1515
ADD_SUBDIRECTORY(roadgraph)
1616
ADD_SUBDIRECTORY(zonal_statistics)
1717
ADD_SUBDIRECTORY(georeferencer)
18+
ADD_SUBDIRECTORY(gps_importer)
1819

1920
IF (WITH_SPATIALITE)
2021
ADD_SUBDIRECTORY(offline_editing)
@@ -28,10 +29,6 @@ IF (GRASS_FOUND)
2829
ADD_SUBDIRECTORY(grass)
2930
ENDIF (GRASS_FOUND)
3031

31-
IF (EXPAT_FOUND)
32-
ADD_SUBDIRECTORY(gps_importer)
33-
ENDIF (EXPAT_FOUND)
34-
3532
IF (WITH_GLOBE)
3633
ADD_SUBDIRECTORY(globe)
3734
ENDIF (WITH_GLOBE)

src/providers/CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ ADD_SUBDIRECTORY(gdal)
1212
ADD_SUBDIRECTORY(mssql)
1313
ADD_SUBDIRECTORY(ows)
1414
ADD_SUBDIRECTORY(wcs)
15+
ADD_SUBDIRECTORY(gpx)
16+
ADD_SUBDIRECTORY(wfs)
1517

1618
IF (POSTGRES_FOUND)
1719
ADD_SUBDIRECTORY(postgres)
@@ -21,11 +23,6 @@ IF (SPATIALITE_FOUND OR WITH_INTERNAL_SPATIALITE)
2123
ADD_SUBDIRECTORY(spatialite)
2224
ENDIF (SPATIALITE_FOUND OR WITH_INTERNAL_SPATIALITE)
2325

24-
IF (EXPAT_FOUND)
25-
ADD_SUBDIRECTORY(gpx)
26-
ADD_SUBDIRECTORY(wfs)
27-
ENDIF (EXPAT_FOUND)
28-
2926
IF (GRASS_FOUND)
3027
ADD_SUBDIRECTORY(grass)
3128
ENDIF (GRASS_FOUND)

0 commit comments

Comments
 (0)