aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-04-04 19:08:23 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-04-04 19:08:23 +0000
commitd7562bace6216eadb0d1549cde3453ac4c3b796a (patch)
tree22726a7067010427745b7734f63e3bdb9b433769
parent862d6eb43b459f485b8eb3dc25067a9fc53698d7 (diff)
downloadextra-cmake-modules-d7562bace6216eadb0d1549cde3453ac4c3b796a.tar.gz
extra-cmake-modules-d7562bace6216eadb0d1549cde3453ac4c3b796a.tar.bz2
-listing the generated header file also in the list of sources can't hurt
Alex svn path=/trunk/KDE/kdelibs/; revision=526481
-rw-r--r--modules/KDE4Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake
index 0585e9c7..915781b1 100644
--- a/modules/KDE4Macros.cmake
+++ b/modules/KDE4Macros.cmake
@@ -126,7 +126,7 @@ MACRO (KDE4_ADD_KCFG_FILES _sources)
QT4_GENERATE_MOC(${_header_FILE} ${_moc_FILE} )
MACRO_ADD_FILE_DEPENDENCIES(${_src_FILE} ${_moc_FILE} )
- set(${_sources} ${${_sources}} ${_src_FILE})
+ set(${_sources} ${${_sources}} ${_src_FILE} ${_header_FILE})
endforeach (_current_FILE)