Skip to content

Commit b99634e

Browse files
committed
BUG: Use GTest for ITK>=4.13
Google test was just added during ITK 4.13 development. The logic is corrected.
1 parent b6e70f8 commit b99634e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
)

0 commit comments

Comments
 (0)