From 688ff8be0ef694a064ebf70a9849a784614d6c21 Mon Sep 17 00:00:00 2001 From: Sebastian Trueg Date: Sun, 21 Nov 2010 19:08:58 +0000 Subject: Unset all temp variables to not pollute the global "namespace". svn path=/trunk/KDE/kdelibs/; revision=1199385 --- modules/NepomukAddOntologyClasses.cmake | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modules') diff --git a/modules/NepomukAddOntologyClasses.cmake b/modules/NepomukAddOntologyClasses.cmake index 6a49a5a9..a2bdd5bb 100644 --- a/modules/NepomukAddOntologyClasses.cmake +++ b/modules/NepomukAddOntologyClasses.cmake @@ -99,4 +99,17 @@ macro(NEPOMUK_ADD_ONTOLOGY_CLASSES _sources) # finally append the source files to the source list list(APPEND ${_sources} ${_out_sources}) endif(NOT RCGEN) + + # reset variable names used + unset(_current_arg_type) + unset(_arg) + unset(_ontologies) + unset(_ontofilenames) + unset(_classes) + unset(_visibility) + unset(_fastmode) + unset(_targetdir) + unset(_out_headers) + unset(_out_sources) + unset(rcgen_result) endmacro(NEPOMUK_ADD_ONTOLOGY_CLASSES) -- cgit v1.2.1