diff options
author | Alex Merry <kde@randomguy3.me.uk> | 2007-05-26 19:13:24 +0000 |
---|---|---|
committer | Alex Merry <kde@randomguy3.me.uk> | 2007-05-26 19:13:24 +0000 |
commit | 5c089deeaf0ba27a8ad294cef83b4ac81d302e21 (patch) | |
tree | 02a1d7403caa00d6fcdd6db0fe8733cc567512fc | |
parent | 0aa034d10384a532988c46cff9086cd00692cb45 (diff) | |
download | extra-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.cmake | 8 |
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) |