Skip to content

Commit 4c19ac4

Browse files
committed
DOC: Remove invalid CMake escape characters
From the Configuring and Building ITK section. These are passed through in the minted code listing.
1 parent 26a70a9 commit 4c19ac4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

SoftwareGuide/Latex/Introduction/Installation.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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}
577577
set(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}
587587
set(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}
607607
ExternalProject_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!}%
648648
project(HelloWorld)
649649
650650
set(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.
654654
itk_generate_factory_registration()

0 commit comments

Comments
 (0)