Merge topic 'patch-AddFileDependencies'

7dc53c5362 KDE3Macros: Replace obsolete/deprecated add_file_dependencies()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10482
This commit is contained in:
Brad King 2025-03-18 13:51:08 +00:00 committed by Kitware Robot
commit 5ea47acecc

View File

@ -21,6 +21,7 @@
#neundorf@kde.org
# Included for backward compatibility, otherwise unused.
include(AddFileDependencies)
#create the kidl and skeletion file for dcop stuff
@ -234,7 +235,7 @@ macro(KDE3_AUTOMOC)
DEPENDS ${_header}
)
ADD_FILE_DEPENDENCIES(${_abs_FILE} ${_moc})
set_property(SOURCE "${_abs_FILE}" APPEND PROPERTY OBJECT_DEPENDS "${_moc}")
endforeach ()
unset(_match)