Add disabled option to not show warnings
When reading the build output, this can help a bit to find the actual error while porting.
This commit is contained in:
parent
a54763b247
commit
1894bec012
@ -31,6 +31,8 @@ find_package(kde4support REQUIRED NO_MODULE)
|
||||
|
||||
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0)
|
||||
|
||||
#add_definitions(-Wno-deprecated)
|
||||
|
||||
if(KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED)
|
||||
set(KDE_NO_DEPRECATED TRUE)
|
||||
set(CMAKE_AUTOMOC_MOC_OPTIONS "-DKDE_NO_DEPRECATED")
|
||||
|
Loading…
x
Reference in New Issue
Block a user