File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION
293293 ".*OpenCV.*"
294294 ".*VTK.*"
295295 ".*has no symbols."
296- "ITKv4 "
296+ "ITK "
297297 "SlicerExecutionModel"
298298 "SimpleITK"
299299
@@ -340,7 +340,7 @@ set(CTEST_CUSTOM_ERROR_EXCEPTION
340340 ".*OpenCV.*"
341341 ".*VTK.*"
342342 ".*has no symbols."
343- "ITKv4 "
343+ "ITK "
344344 "SlicerExecutionModel"
345345 "SimpleITK"
346346
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ option(USE_SYSTEM_ITK "Build using an externally defined version of ITK" OFF)
9494
9595
9696## for i in SuperBuild/*; do echo $i |sed 's/.*External_\([a-zA-Z]*\).*/\1/g'|fgrep -v cmake|fgrep -v Template; done|sort -u
97- set (${PRIMARY_PROJECT_NAME} _DEPENDENCIES ITKv4 )
97+ set (${PRIMARY_PROJECT_NAME} _DEPENDENCIES ITK )
9898
9999#-----------------------------------------------------------------------------
100100# Define Superbuild global variables
@@ -166,8 +166,8 @@ list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS
166166 )
167167
168168if ( NOT ${USE_SYSTEM_ITK} )
169- set (ITK_SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR} /ITKv4 )
170- set (ITK_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR} /ITKv4 -build )
169+ set (ITK_SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR} /ITK )
170+ set (ITK_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR} /ITK -build )
171171else ()
172172 find_path (ITK_BINARY_DIR UseITK.cmake
173173 ../ITK-build
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ ProjectDependancyPush(CACHED_proj ${proj})
1818# even if other External_${ExtProjName}.cmake files are sourced by
1919# SlicerMacroCheckExternalProjectDependency
2020set (extProjName ITK) #The find_package known name
21- set (proj ITKv4 ) #This local name
21+ set (proj ITK ) #This local name
2222set (${extProjName} _REQUIRED_VERSION 4) #If a required version is necessary, then set this, else leave blank
2323
2424#if(${USE_SYSTEM_${extProjName}})
@@ -104,7 +104,9 @@ if(NOT ( DEFINED "${extProjName}_DIR" OR ( DEFINED "USE_SYSTEM_${extProjName}" A
104104 ### --- End Project specific additions
105105 set (${proj} _REPOSITORY ${git_protocol} ://itk.org/ITK.git)
106106 # ITK release 2017-09-12
107- set (${proj} _GIT_TAG "v4.12.2" )
107+ if ("${${proj} _GIT_TAG}" STREQUAL "" )
108+ set (${proj} _GIT_TAG "v4.12.2" )
109+ endif ()
108110
109111 ExternalProject_Add(${proj}
110112 GIT_REPOSITORY ${${proj} _REPOSITORY}
You can’t perform that action at this time.
0 commit comments