mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 05:24:06 +02:00
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:
commit
31a11e8221
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue