--- ./src/osgPlugins/ogr/CMakeLists.txt.orig	2011-04-19 11:40:22 UTC
+++ ./src/osgPlugins/ogr/CMakeLists.txt
@@ -1,4 +1,4 @@
-INCLUDE_DIRECTORIES( ${GDAL_INCLUDE_DIR} )
+INCLUDE_DIRECTORIES(SYSTEM ${GDAL_INCLUDE_DIR})
 
 SET(TARGET_SRC ReaderWriterOGR.cpp)
 
