Skip to content

Commit fb2d5ea

Browse files
hjmjohnsondzenanz
authored andcommitted
ENH: Only build ITKV4 examples with when selected in ITK.
1 parent 96d338a commit fb2d5ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Registration/Common/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ add_example( PerformMultiModalityRegistrationWithMutualInformation )
22
compare_to_baseline( EXAMPLE_NAME PerformMultiModalityRegistrationWithMutualInformation BASELINE_PREFIX OutputBaseline
33
OPTIONS LABELS RUNS_LONG )
44

5-
add_example( Perform2DTranslationRegistrationWithMeanSquares )
6-
compare_to_baseline( EXAMPLE_NAME Perform2DTranslationRegistrationWithMeanSquares BASELINE_PREFIX OutputBaseline )
5+
if(ITKV4_COMPATIBILITY)
6+
add_example( Perform2DTranslationRegistrationWithMeanSquares )
7+
compare_to_baseline( EXAMPLE_NAME Perform2DTranslationRegistrationWithMeanSquares BASELINE_PREFIX OutputBaseline )
8+
endif()
79

810
add_example(MultiresolutionPyramidFromImage)
911
compare_to_baseline(EXAMPLE_NAME MultiresolutionPyramidFromImage

0 commit comments

Comments
 (0)