Merge pull request #374 from birarda/master

include QtGui dir with isystem flag to get rid of compiler warning in Xcode
This commit is contained in:
birarda 2013-05-21 15:46:44 -07:00
commit 31a11e8221

View file

@ -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)