@@ -575,8 +575,8 @@ \section{Using ITK as an External Library}%
575575\small
576576\begin {minted }[baselinestretch=1,fontsize=\footnotesize ,linenos=false,bgcolor=ltgray]{cmake}
577577set(MINIMUM_ITK_VERSION 5.4)
578- find_package(ITK \ $ {MINIMUM_ITK_VERSION} REQUIRED COMPONENTS Module1 Module2)
579- include(\ $ {ITK_USE_FILE})
578+ find_package(ITK $ {MINIMUM_ITK_VERSION} REQUIRED COMPONENTS Module1 Module2 )
579+ include($ {ITK_USE_FILE})
580580\end {minted }
581581\normalsize
582582
@@ -585,14 +585,14 @@ \section{Using ITK as an External Library}%
585585\small
586586\begin {minted }[baselinestretch=1,fontsize=\footnotesize ,linenos=false,bgcolor=ltgray]{cmake}
587587set(MINIMUM_ITK_VERSION 5.4)
588- find_package(ITK \ $ {MINIMUM_ITK_VERSION} REQUIRED
588+ find_package(ITK $ {MINIMUM_ITK_VERSION} REQUIRED
589589 COMPONENTS
590590 MorphologicalContourInterpolation
591591 ITKSmoothing
592592 ITKIOImageBase
593593 ITKIONRRD
594594 )
595- include(\ $ {ITK_USE_FILE})
595+ include($ {ITK_USE_FILE})
596596\end {minted }
597597\normalsize
598598
@@ -605,7 +605,7 @@ \section{Using ITK as an External Library}%
605605\small
606606\begin {minted }[baselinestretch=1,fontsize=\footnotesize ,linenos=false,bgcolor=ltgray]{cmake}
607607ExternalProject_Add(ITK
608- GIT_REPOSITORY \$ {git_protocol} ://github.com/InsightSoftwareConsortium/ITK.git"
608+ GIT_REPOSITORY https ://github.com/InsightSoftwareConsortium/ITK.git"
609609 GIT_TAG "< tag id>" # specify the commit id or the tag id
610610 SOURCE_DIR <ITK source tree path>
611611 BINARY_DIR <ITK build tree path>
@@ -648,7 +648,7 @@ \subsection{Hello World!}%
648648project(HelloWorld)
649649
650650set(MINIMUM_ITK_VERSION 6.0)
651- find_package(ITK \ $ {MINIMUM_ITK_VERSION} REQUIRED)
651+ find_package(ITK $ {MINIMUM_ITK_VERSION} REQUIRED)
652652
653653# Generate the ITK factory registration code.
654654itk_generate_factory_registration()
0 commit comments