forked from Imagelibrary/seL4
cmake: record all disabled options
Before this change, options that were hidden from the cmake-gui due to
unsatisfied config_choice conditions were not recorded in
gen_config.{yaml,json,h}. After this change, these hidden options are
recorded as disabled.
Signed-off-by: Nick Spinale <nick@nickspinale.com>
This commit is contained in:
committed by
Gerwin Klein
parent
f9eb65c9a5
commit
d310f5f137
@@ -493,6 +493,7 @@ function(config_choice optionname configname doc)
|
||||
else()
|
||||
# Remove this config as it's not valid
|
||||
unset(${option_cache} CACHE)
|
||||
cfg_str_add_disabled(local_config_string ${option_config})
|
||||
endif()
|
||||
endforeach()
|
||||
if(NOT found_current)
|
||||
|
||||
Reference in New Issue
Block a user