Skip to content

Commit c3dfd2a

Browse files
authored
Merge pull request #30 from blowekamp/FixITKVersionForGTest
Fix itk version required for GTest
2 parents b6e70f8 + d0aa427 commit c3dfd2a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

itk-module.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ file(READ "${MY_CURRENT_DIR}/README.rst" DOCUMENTATION)
1010
# By convention those modules outside of ITK are not prefixed with
1111
# ITK.
1212

13-
if( NOT "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}" VERSION_LESS "4.12" )
13+
if( NOT "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}" VERSION_LESS "4.13" )
1414
set(_GoogleTest_DEPENDS ITKGoogleTest)
1515
endif()
1616

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ itk_add_test(NAME itkFirstOrderTextureFeaturesImageFilterTest1
251251
5
252252
)
253253

254-
if( NOT "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}" VERSION_LESS "4.12" )
254+
if( NOT "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}" VERSION_LESS "4.13" )
255255
set(TextureFeaturesGTests
256256
itkFirstOrderTextureFeaturesImageFilterGTest.cxx
257257
)

test/itkFirstOrderTextureFeaturesImageFilterGTest.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ out << "entropy: " << p[7] << std::endl;
4040

4141
}
4242

43-
TEST(TextTureFeatures, FirstOrder_Test1)
43+
TEST(TextureFeatures, FirstOrder_Test1)
4444
{
4545
const unsigned int ImageDimension = 2;
4646
typedef itk::Image<float, ImageDimension > ImageType;
@@ -110,7 +110,7 @@ TEST(TextTureFeatures, FirstOrder_Test1)
110110
}
111111

112112

113-
TEST(TextTureFeatures, FirstOrder_Test2)
113+
TEST(TextureFeatures, FirstOrder_Test2)
114114
{
115115
const unsigned int ImageDimension = 2;
116116
typedef itk::Image<float, ImageDimension > ImageType;

0 commit comments

Comments
 (0)