aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Merry <kde@randomguy3.me.uk>2007-05-26 19:13:24 +0000
committerAlex Merry <kde@randomguy3.me.uk>2007-05-26 19:13:24 +0000
commit5c089deeaf0ba27a8ad294cef83b4ac81d302e21 (patch)
tree02a1d7403caa00d6fcdd6db0fe8733cc567512fc
parent0aa034d10384a532988c46cff9086cd00692cb45 (diff)
downloadextra-cmake-modules-5c089deeaf0ba27a8ad294cef83b4ac81d302e21.tar.gz
extra-cmake-modules-5c089deeaf0ba27a8ad294cef83b4ac81d302e21.tar.bz2
Make it work with the new command line option requirements
for kmetadata_rcgen. svn path=/trunk/KDE/kdelibs/; revision=668560
-rw-r--r--modules/KMetaDataMacros.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/KMetaDataMacros.cmake b/modules/KMetaDataMacros.cmake
index 7e4215e9..b65542e8 100644
--- a/modules/KMetaDataMacros.cmake
+++ b/modules/KMetaDataMacros.cmake
@@ -28,22 +28,22 @@ macro(KMETADATA_GENERATE_FROM_ONTOLOGY ontofile targetdir out_headers out_source
FILE(TO_NATIVE_PATH ${RCGEN} RCGEN)
execute_process(
- COMMAND ${RCGEN} --listheaders --prefix ${targetdir}/ ${ontofile}
+ COMMAND ${RCGEN} --listheaders --prefix ${targetdir}/ --ontologies ${ontofile}
OUTPUT_VARIABLE ${out_headers}
)
execute_process(
- COMMAND ${RCGEN} --listsources --prefix ${targetdir}/ ${ontofile}
+ COMMAND ${RCGEN} --listsources --prefix ${targetdir}/ --ontologies ${ontofile}
OUTPUT_VARIABLE ${out_sources}
)
execute_process(
- COMMAND ${RCGEN} --listincludes ${ontofile}
+ COMMAND ${RCGEN} --listincludes --ontologies ${ontofile}
OUTPUT_VARIABLE ${out_includes}
)
execute_process(
- COMMAND ${RCGEN} --writeall --templates ${ARGN} ${targetdir}/ ${ontofile}
+ COMMAND ${RCGEN} --writeall --templates ${ARGN} --target ${targetdir}/ --ontologies ${ontofile}
)
endmacro(KMETADATA_GENERATE_FROM_ONTOLOGY)