Allow even empty lists of config vars
Modules that does not use the concept of _CONFIG_VARS will not have exported anything, so we may end up with an empty list.
This commit is contained in:
parent
e62f4a1b69
commit
8fddb7a879
@ -50,7 +50,9 @@ function (configure_vars obj filename verb)
|
|||||||
|
|
||||||
# only write the current value of each variable once
|
# only write the current value of each variable once
|
||||||
list (APPEND _args ${ARGN})
|
list (APPEND _args ${ARGN})
|
||||||
|
if (_args)
|
||||||
list (REMOVE_DUPLICATES _args)
|
list (REMOVE_DUPLICATES _args)
|
||||||
|
endif (_args)
|
||||||
|
|
||||||
# process each variable
|
# process each variable
|
||||||
set (_prev_verbatim TRUE)
|
set (_prev_verbatim TRUE)
|
||||||
|
Loading…
Reference in New Issue
Block a user