Author: tkreuzer
Date: Sat Feb 14 11:01:58 2015
New Revision: 66254
URL:
http://svn.reactos.org/svn/reactos?rev=66254&view=rev
Log:
[CMAKE]
Fix bugs in start/end_module_group, found by Jérôme.
Modified:
trunk/reactos/cmake/CMakeMacros.cmake
Modified: trunk/reactos/cmake/CMakeMacros.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/CMakeMacros.cmake?re…
==============================================================================
--- trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] Sat Feb 14 11:01:58 2015
@@ -673,7 +673,7 @@
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 @@
foreach(__module ${__modulelist})
add_dependencies(${CURRENT_MODULE_GROUP} ${__module})
endforeach()
+ unset(CURRENT_MODULE_GROUP PARENT_SCOPE)
endfunction()
function(preprocess_file __in __out)