Skip to content

Commit b3a3493

Browse files
committed
DOC: Use explicit ImageIO argument to itk_generate_factory_registration()
Also make sure to use ITKImageIO for the find_package COMPONENT.
1 parent ddbc09c commit b3a3493

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

SoftwareGuide/Latex/Introduction/Installation.tex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,10 +632,9 @@ \section{Using ITK as an External Library}%
632632
COMPONENTS
633633
MorphologicalContourInterpolation
634634
ITKSmoothing
635-
ITKIOImageBase
636-
ITKIONRRD
635+
ITKImageIO
637636
)
638-
itk_generate_factory_registration()
637+
itk_generate_factory_registration(ImageIO)
639638

640639
add_executable(Example Example.cxx)
641640
target_link_libraries(Example ${ITK_INTERFACE_LIBRARIES} ITK::ITKImageIO)

0 commit comments

Comments
 (0)