mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
include QtGui dir with isystem flag to remove warning
This commit is contained in:
parent
4f0aca4b0c
commit
d2c2150b8f
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