From d2c2150b8f564f432734effa417209ec9a2d6543 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 21 May 2013 15:39:57 -0700 Subject: [PATCH] include QtGui dir with isystem flag to remove warning --- interface/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index dac0749f8d..a1a69d8ecd 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -57,6 +57,7 @@ endif (APPLE) find_package(Qt4 REQUIRED QtCore QtGui QtOpenGL) include(${QT_USE_FILE}) +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${QT_QTGUI_INCLUDE_DIR}") # run qt moc on qt-enabled headers qt4_wrap_cpp(INTERFACE_SRCS src/Application.h)