Skip to content
Permalink
Browse files

Change some includes to system includes to avoid warnings

  • Loading branch information
nyalldawson committed Jan 7, 2016
1 parent 2ceeb94 commit a2a1b795f8452f23ac30568786b06578bb4051e5
@@ -36,6 +36,8 @@ SET(QGIS_NETWORK_ANALYSIS_HDRS
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}../../core/
)
INCLUDE_DIRECTORIES(SYSTEM
${PROJ_INCLUDE_DIR}
${GEOS_INCLUDE_DIR}
${GDAL_INCLUDE_DIR}
@@ -17,7 +17,7 @@ SET (evis_SRCS

)

SET (evis_UIS
SET (evis_UIS
ui/evisdatabaseconnectionguibase.ui
ui/evisdatabaselayerfieldselectionguibase.ui
ui/evisgenericeventbrowserguibase.ui
@@ -31,7 +31,7 @@ SET (evis_MOC_HDRS

eventbrowser/evisgenericeventbrowsergui.h
eventbrowser/evisimagedisplaywidget.h

idtool/eviseventidtool.h
)

@@ -48,10 +48,12 @@ QT4_ADD_RESOURCES(evis_RCC_SRCS ${evis_RCCS})

ADD_LIBRARY (evis MODULE ${evis_SRCS} ${evis_MOC_SRCS} ${evis_RCC_SRCS} ${evis_UIS_H})

INCLUDE_DIRECTORIES(
INCLUDE_DIRECTORIES(SYSTEM
${GDAL_INCLUDE_DIR}
${GEOS_INCLUDE_DIR}
${QT_INCLUDE_DIR}
)
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/databaseconnection
@@ -163,11 +163,13 @@ INCLUDE_DIRECTORIES(
../../gui/layertree
../../providers/grass
${CMAKE_CURRENT_BINARY_DIR}/../../ui
qtermwidget
)
INCLUDE_DIRECTORIES(SYSTEM
${GDAL_INCLUDE_DIR}
${PROJ_INCLUDE_DIR}
${GEOS_INCLUDE_DIR}
${POSTGRES_INCLUDE_DIR}
qtermwidget
)


@@ -34,7 +34,6 @@ ADD_LIBRARY (zonalstatisticsplugin MODULE

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
${GDAL_INCLUDE_DIR}
../../core
../../core/geometry
../../core/raster
@@ -43,6 +42,9 @@ INCLUDE_DIRECTORIES(
..
.
)
INCLUDE_DIRECTORIES(SYSTEM
${GDAL_INCLUDE_DIR}
)

TARGET_LINK_LIBRARIES(zonalstatisticsplugin
qgis_analysis

0 comments on commit a2a1b79

Please sign in to comment.
You can’t perform that action at this time.