Remove unnecessary or non-existing Qt flags.
This commit is contained in:
parent
04170918bc
commit
e2f097fce8
|
@ -68,12 +68,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
|
|||
|
||||
find_package(PolkitQt${QT_MAJOR_VERSION}-1 REQUIRED)
|
||||
|
||||
# use sane compile flags
|
||||
add_definitions(
|
||||
-DQT_NO_CAST_TO_BYTEARRAY
|
||||
-DQT_USE_FAST_OPERATOR_PLUS
|
||||
-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00
|
||||
)
|
||||
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
|
||||
kde_enable_exceptions()
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
|
|
Loading…
Reference in New Issue