From 46963785733db3088a395cfc520949fbfe185e2d Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Sat, 12 Sep 2015 18:04:16 +0200 Subject: [PATCH] LP-29 disabled warnings on mac (mac treats warnings are errors...) --- ground/gcs/src/libs/osgearth/osgearth.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ground/gcs/src/libs/osgearth/osgearth.pro b/ground/gcs/src/libs/osgearth/osgearth.pro index 47d15d7cf..7a8007e9a 100644 --- a/ground/gcs/src/libs/osgearth/osgearth.pro +++ b/ground/gcs/src/libs/osgearth/osgearth.pro @@ -12,6 +12,9 @@ contains(DEFINES, OSG_USE_QT_PRIVATE) { include(../../library.pri) include(../utils/utils.pri) +# disable all warnings on mac to avoid build failures +macx:CONFIG += warn_off + # osg and osgearth emit a lot of unused parameter warnings... QMAKE_CXXFLAGS += -Wno-unused-parameter