File: CMakeLists.txt

package info (click to toggle)
elastix 5.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 45,644 kB
  • sloc: cpp: 85,720; lisp: 4,118; python: 1,045; sh: 200; xml: 182; makefile: 33
file content (18 lines) | stat: -rwxr-xr-x 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ADD_ELXCOMPONENT(ImpactMetric OFF PLUGIN
 elxImpactMetric.cxx
 elxImpactMetric.h
 elxImpactMetric.hxx
 ImpactLoss.h
 ImpactTensorUtils.h
 ImpactTensorUtils.hxx
 itkBSplineInterpolateVectorImageFunction.h
 itkBSplineInterpolateVectorImageFunction.hxx
 itkImpactImageToImageMetric.h
 itkImpactImageToImageMetric.hxx
 itkImpactModelConfiguration.h
 )

if(USE_ImpactMetric)
    find_package(Torch REQUIRED)
    target_link_libraries(ImpactMetric ${TORCH_LIBRARIES})
endif()