Skip to content

Commit 0c25057

Browse files
authored
Merge pull request #11 from thewtex/build
Build
2 parents fc41432 + e94b1cf commit 0c25057

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10.2)
22
project(TwoProjectionRegistration)
33

44
if(NOT ITK_SOURCE_DIR)
5-
find_package(ITK 4.9 REQUIRED)
5+
find_package(ITK 5.0 REQUIRED)
66
list(APPEND CMAKE_MODULE_PATH ${ITK_CMAKE_DIR})
77
include(ITKModuleExternal)
88
else()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@
5151
keywords='ITK InsightToolkit Projection Registration',
5252
url=r'https://github.com/InsightSoftwareConsortium/ITKTwoProjectionRegistration',
5353
install_requires=[
54-
r'itk'
54+
r'itk>=5.0rc1'
5555
]
5656
)

wrapping/itkSiddonJacobsRayCastInterpolateImageFunction.wrap

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ if(has_d_3)
44
itk_wrap_class("itk::SiddonJacobsRayCastInterpolateImageFunction" POINTER)
55
foreach(t ${WRAP_ITK_SCALAR})
66
# This interpolator works for 3-dimensional images only
7-
itk_wrap_template("${ITKM_I${t}3}$(ITKM_D)" "${ITKT_I${t}3},${ITKT_D}")
8-
itk_wrap_template("${ITKM_I${t}3}$(ITKM_F)" "${ITKT_I${t}3},${ITKT_F}")
7+
itk_wrap_template("${ITKM_I${t}3}${ITKM_D}" "${ITKT_I${t}3},${ITKT_D}")
98
endforeach()
109
itk_end_wrap_class()
1110
endif()

0 commit comments

Comments
 (0)