Commit 9d7e0dd3 authored by Matthias Möller's avatar Matthias Möller

remove duplicates in the argument list of moc

closes #2062

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18428 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8a1802a4
......@@ -437,6 +437,8 @@ endmacro ()
# generate moc targets for sources in list
macro (acg_qt4_automoc moc_SRCS)
qt4_get_moc_flags (_moc_INCS)
list(REMOVE_DUPLICATES _moc_INCS)
set (_matching_FILES )
foreach (_current_FILE ${ARGN})
......@@ -480,6 +482,8 @@ endmacro ()
# generate moc targets for sources in list
macro (acg_qt5_automoc moc_SRCS)
qt5_get_moc_flags (_moc_INCS)
list(REMOVE_DUPLICATES _moc_INCS)
set (_matching_FILES )
foreach (_current_FILE ${ARGN})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment