Skip to content

Commit f1c390a

Browse files
committed
BUG: Mark Module_FastBilateral as advanced
This was non-advanced due to its high module compliance rating. However, there are no other remote modules the same, and it is odd to just have FastBilateral as non-advanced. A revisit to making it non-advanced could be made after re-evaluating all the remote modules' compliance rating.
1 parent 8e928a1 commit f1c390a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMake/ITKModuleRemote.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,17 +199,16 @@ function(itk_fetch_module _name _description)
199199

200200
if(NOT DEFINED Module_${_name})
201201
option(Module_${_name} "(Remote-${MODULE_COMPLIANCE_LEVEL}) ${_description}" OFF)
202+
mark_as_advanced(Module_${_name})
202203
else()
203204
# If Module_${_name} is set manually, put its value in the CACHE
204205
option(Module_${_name} "(Remote-${MODULE_COMPLIANCE_LEVEL}) ${_description}" ${Module_${_name}})
205206
endif()
206207

207208
if(${MODULE_COMPLIANCE_LEVEL} GREATER_EQUAL ${ITK_MINIMUM_COMPLIANCE_LEVEL})
208209
set(Module_${_name}_VALID ON)
209-
mark_as_advanced(CLEAR Module_${_name})
210210
else()
211211
set(Module_${_name}_VALID OFF)
212-
mark_as_advanced(FORCE Module_${_name})
213212
endif()
214213
# message(INFO " MODULE_VALID Module_${_name}:${Module_${_name}_VALID}:${MODULE_COMPLIANCE_LEVEL}>=${ITK_MINIMUM_COMPLIANCE_LEVEL}")
215214

0 commit comments

Comments
 (0)