Skip to content

Commit

Permalink
COMP: Update SlicerExtensionDescriptionSpec to fix logic checking arg…
Browse files Browse the repository at this point in the history
…uments

This commit fixes incorrect logic checking arguments in
"slicer_extension_description_spec_defaults_test" and originally
introduced in 2d0ec42 (ENH: Add SlicerExtensionDescriptionSpec CMake module)

Co-authored-by: luz paz <[email protected]>
Co-authored-by: Steve Pieper <[email protected]>
  • Loading branch information
3 people committed Aug 4, 2022
1 parent ebf9910 commit 947071a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extensions/CMake/SlicerExtensionDescriptionSpec.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function(slicer_extension_description_spec_defaults_test)
ENABLED
STATUS
)
foreach(name IN LISTS required optonal)
foreach(name IN LISTS required optional)
foreach(varsuffix IN ITEMS "REQUIRED" "DEFAULT" "DESCRIPTION")
set(expected_defined_varname "Slicer_EXT_METADATA_${name}_${varsuffix}")
if(NOT DEFINED "${expected_defined_varname}")
Expand Down

0 comments on commit 947071a

Please sign in to comment.