mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
[CMAKE]
Fix bugs in start/end_module_group, found by Jérôme. svn path=/trunk/; revision=66254
This commit is contained in:
parent
4a5d15129b
commit
ec1c6cbde1
1 changed files with 2 additions and 1 deletions
|
@ -673,7 +673,7 @@ function(start_module_group __name)
|
||||||
if(DEFINED CURRENT_MODULE_GROUP)
|
if(DEFINED CURRENT_MODULE_GROUP)
|
||||||
message(FATAL_ERROR "CURRENT_MODULE_GROUP is already set ('${CURRENT_MODULE_GROUP}')")
|
message(FATAL_ERROR "CURRENT_MODULE_GROUP is already set ('${CURRENT_MODULE_GROUP}')")
|
||||||
endif()
|
endif()
|
||||||
set(CURRENT_MODULE_GROUP rostests PARENT_SCOPE)
|
set(CURRENT_MODULE_GROUP ${__name} PARENT_SCOPE)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(end_module_group)
|
function(end_module_group)
|
||||||
|
@ -682,6 +682,7 @@ function(end_module_group)
|
||||||
foreach(__module ${__modulelist})
|
foreach(__module ${__modulelist})
|
||||||
add_dependencies(${CURRENT_MODULE_GROUP} ${__module})
|
add_dependencies(${CURRENT_MODULE_GROUP} ${__module})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
unset(CURRENT_MODULE_GROUP PARENT_SCOPE)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(preprocess_file __in __out)
|
function(preprocess_file __in __out)
|
||||||
|
|
Loading…
Reference in a new issue