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
293
293
".*OpenCV.*"
294
294
".*VTK.*"
295
295
".*has no symbols."
296
- "ITKv4 "
296
+ "ITK "
297
297
"SlicerExecutionModel"
298
298
"SimpleITK"
299
299
@@ -340,7 +340,7 @@ set(CTEST_CUSTOM_ERROR_EXCEPTION
340
340
".*OpenCV.*"
341
341
".*VTK.*"
342
342
".*has no symbols."
343
- "ITKv4 "
343
+ "ITK "
344
344
"SlicerExecutionModel"
345
345
"SimpleITK"
346
346
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)
94
94
95
95
96
96
## 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 )
98
98
99
99
#-----------------------------------------------------------------------------
100
100
# Define Superbuild global variables
@@ -166,8 +166,8 @@ list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS
166
166
)
167
167
168
168
if ( 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 )
171
171
else ()
172
172
find_path (ITK_BINARY_DIR UseITK.cmake
173
173
../ITK-build
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ ProjectDependancyPush(CACHED_proj ${proj})
18
18
# even if other External_${ExtProjName}.cmake files are sourced by
19
19
# SlicerMacroCheckExternalProjectDependency
20
20
set (extProjName ITK) #The find_package known name
21
- set (proj ITKv4 ) #This local name
21
+ set (proj ITK ) #This local name
22
22
set (${extProjName} _REQUIRED_VERSION 4) #If a required version is necessary, then set this, else leave blank
23
23
24
24
#if(${USE_SYSTEM_${extProjName}})
@@ -104,7 +104,9 @@ if(NOT ( DEFINED "${extProjName}_DIR" OR ( DEFINED "USE_SYSTEM_${extProjName}" A
104
104
### --- End Project specific additions
105
105
set (${proj} _REPOSITORY ${git_protocol} ://itk.org/ITK.git)
106
106
# 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 ()
108
110
109
111
ExternalProject_Add(${proj}
110
112
GIT_REPOSITORY ${${proj} _REPOSITORY}
You can’t perform that action at this time.
0 commit comments