@@ -135,20 +135,7 @@ SET(QGIS_APP_SRCS
135
135
136
136
gps/qgsgpsinformationwidget.cpp
137
137
gps/qgsgpsmarker.cpp
138
- gps/qwtpolar/qwt_polar_canvas.cpp
139
- gps/qwtpolar/qwt_polar_curve.cpp
140
- gps/qwtpolar/qwt_polar_fitter.cpp
141
- gps/qwtpolar/qwt_polar_grid.cpp
142
- gps/qwtpolar/qwt_polar_itemdict.cpp
143
- gps/qwtpolar/qwt_polar_item.cpp
144
- gps/qwtpolar/qwt_polar_layout.cpp
145
- gps/qwtpolar/qwt_polar_magnifier.cpp
146
- gps/qwtpolar/qwt_polar_marker.cpp
147
- gps/qwtpolar/qwt_polar_panner.cpp
148
- gps/qwtpolar/qwt_polar_plot.cpp
149
- gps/qwtpolar/qwt_polar_point.cpp
150
- gps/qwtpolar/qwt_polar_spectrogram.cpp
151
- )
138
+ )
152
139
153
140
154
141
SET (QGIS_APP_MOC_HDRS
@@ -256,12 +243,39 @@ SET (QGIS_APP_MOC_HDRS
256
243
attributetable/qgsattributetabledelegate.h
257
244
258
245
gps/qgsgpsinformationwidget.h
259
- gps/qwtpolar/qwt_polar_canvas.h
260
- gps/qwtpolar/qwt_polar_magnifier.h
261
- gps/qwtpolar/qwt_polar_panner.h
262
- gps/qwtpolar/qwt_polar_plot.h
263
246
)
264
247
248
+ IF (WITH_INTERNAL_QWTPOLAR)
249
+ SET (QGIS_APP_SRCS
250
+ ${QGIS_APP_SRCS}
251
+ gps/qwtpolar/qwt_polar_canvas.cpp
252
+ gps/qwtpolar/qwt_polar_curve.cpp
253
+ gps/qwtpolar/qwt_polar_fitter.cpp
254
+ gps/qwtpolar/qwt_polar_grid.cpp
255
+ gps/qwtpolar/qwt_polar_itemdict.cpp
256
+ gps/qwtpolar/qwt_polar_item.cpp
257
+ gps/qwtpolar/qwt_polar_layout.cpp
258
+ gps/qwtpolar/qwt_polar_magnifier.cpp
259
+ gps/qwtpolar/qwt_polar_marker.cpp
260
+ gps/qwtpolar/qwt_polar_panner.cpp
261
+ gps/qwtpolar/qwt_polar_plot.cpp
262
+ gps/qwtpolar/qwt_polar_point.cpp
263
+ gps/qwtpolar/qwt_polar_spectrogram.cpp
264
+ )
265
+
266
+ SET (QGIS_APP_MOC_HDRS
267
+ ${QGIS_APP_MOC_HDRS}
268
+ gps/qwtpolar/qwt_polar_canvas.h
269
+ gps/qwtpolar/qwt_polar_magnifier.h
270
+ gps/qwtpolar/qwt_polar_panner.h
271
+ gps/qwtpolar/qwt_polar_plot.h
272
+ )
273
+
274
+ SET (QWTPOLAR_INCLUDE_DIR gps/qwtpolar)
275
+ SET (QWTPOLAR_LIBRARY "" )
276
+ ENDIF (WITH_INTERNAL_QWTPOLAR)
277
+
278
+
265
279
IF (POSTGRES_FOUND)
266
280
IF (HAVE_PGCONFIG)
267
281
ADD_DEFINITIONS (-DHAVE_PGCONFIG=1)
@@ -339,7 +353,6 @@ INCLUDE_DIRECTORIES(
339
353
../plugins
340
354
../python
341
355
gps
342
- gps/qwtpolar
343
356
)
344
357
345
358
IF (HAVE_SPATIALITE)
@@ -357,6 +370,7 @@ INCLUDE_DIRECTORIES(
357
370
${PROJ_INCLUDE_DIR}
358
371
${GEOS_INCLUDE_DIR}
359
372
${GDAL_INCLUDE_DIR}
373
+ ${QWTPOLAR_INCLUDE_DIR}
360
374
)
361
375
362
376
IF (POSTGRES_FOUND)
@@ -382,6 +396,7 @@ TARGET_LINK_LIBRARIES(${QGIS_APP_NAME}
382
396
${QT_QTUITOOLS_LIBRARY}
383
397
#should only be needed for win
384
398
${QT_QTMAIN_LIBRARY}
399
+ ${QWTPOLAR_LIBRARY}
385
400
qgis_core
386
401
qgis_gui
387
402
qgis_analysis
0 commit comments