From ec1c6cbde1ddc26e8a7500047fa1dce5170c606a Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 14 Feb 2015 11:01:58 +0000 Subject: [PATCH] =?UTF-8?q?[CMAKE]=20Fix=20bugs=20in=20start/end=5Fmodule?= =?UTF-8?q?=5Fgroup,=20found=20by=20J=C3=A9r=C3=B4me.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=66254 --- reactos/cmake/CMakeMacros.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/cmake/CMakeMacros.cmake b/reactos/cmake/CMakeMacros.cmake index 36944d789a5..25a049782ad 100644 --- a/reactos/cmake/CMakeMacros.cmake +++ b/reactos/cmake/CMakeMacros.cmake @@ -673,7 +673,7 @@ function(start_module_group __name) if(DEFINED CURRENT_MODULE_GROUP) message(FATAL_ERROR "CURRENT_MODULE_GROUP is already set ('${CURRENT_MODULE_GROUP}')") endif() - set(CURRENT_MODULE_GROUP rostests PARENT_SCOPE) + set(CURRENT_MODULE_GROUP ${__name} PARENT_SCOPE) endfunction() function(end_module_group) @@ -682,6 +682,7 @@ function(end_module_group) foreach(__module ${__modulelist}) add_dependencies(${CURRENT_MODULE_GROUP} ${__module}) endforeach() + unset(CURRENT_MODULE_GROUP PARENT_SCOPE) endfunction() function(preprocess_file __in __out)