Skip to content

Commit df2d0c2

Browse files
committed
BUG: Incorrect test library variable used.
Test driver did not compile due to empty list of dependant link libraries.
1 parent 4023255 commit df2d0c2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

itk-module.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ itk_module(TwoProjectionRegistration
2020
ITKSpatialObjects
2121
ITKTransform
2222
TEST_DEPENDS
23+
ITKImageFunction
24+
ITKImageGradient
25+
ITKOptimizers
26+
ITKRegistrationCommon
27+
ITKSpatialObjects
28+
ITKTransform
2329
ITKTestKernel
2430
DESCRIPTION
2531
"${DOCUMENTATION}"

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set(TwoProjectionRegistrationTests
55
GetDRRSiddonJacobsRayTracing.cxx
66
)
77

8-
CreateTestDriver(TwoProjectionRegistration "${TwoProjectionRegistration_LIBRARIES}" "${TwoProjectionRegistrationTests}")
8+
CreateTestDriver(TwoProjectionRegistration "${TwoProjectionRegistration-Test_LIBRARIES}" "${TwoProjectionRegistrationTests}")
99

1010
itk_add_test(NAME TwoProjection2D3DRegistrationDownSizedCTTest
1111
COMMAND TwoProjectionRegistrationTestDriver TwoProjection2D3DRegistration

0 commit comments

Comments
 (0)