Remove CMAKE_AUTOMOC_RELAXED_MODE, deprecated since CMake 3.15

NO_CHANGELOG
This commit is contained in:
Ahmad Samir 2021-05-17 14:40:53 +02:00
parent 38d24bfac0
commit 606144182c

View File

@ -1,12 +1,5 @@
add_subdirectory(packagestructure)
# This option should be removed, or moved down as far as possible.
# That means porting the existing frameworks to the CMake automoc
# feature. Porting is mostly removing explicit moc includes, and
# leaving the ones which are truly needed (ie, if you remove
# them, the build fails).
set(CMAKE_AUTOMOC_RELAXED_MODE ON)
if(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
set(PLASMA_NO_PACKAGE_EXTRADATA TRUE)
endif()