Build kwin with QT_NO_KEYWORDS
This commit is contained in:
parent
1b2c7b248b
commit
7a063f9ab7
1 changed files with 9 additions and 1 deletions
|
@ -46,7 +46,15 @@ include(ECMOptionalAddSubdirectory)
|
|||
include(ECMConfiguredInstall)
|
||||
include(ECMQtDeclareLoggingCategory)
|
||||
|
||||
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_USE_QSTRINGBUILDER -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_CAST_TO_ASCII)
|
||||
add_definitions(
|
||||
-DQT_DISABLE_DEPRECATED_BEFORE=0
|
||||
|
||||
-DQT_NO_KEYWORDS
|
||||
|
||||
-DQT_USE_QSTRINGBUILDER
|
||||
-DQT_NO_URL_CAST_FROM_STRING
|
||||
-DQT_NO_CAST_TO_ASCII
|
||||
)
|
||||
|
||||
# Prevent EGL headers from including platform headers, in particular Xlib.h.
|
||||
add_definitions(-DMESA_EGL_NO_X11_HEADERS)
|
||||
|
|
Loading…
Reference in a new issue