File: itk-module-init.cmake

package info (click to toggle)
insighttoolkit4 4.13.3withdata-dfsg2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 491,256 kB
  • sloc: cpp: 557,600; ansic: 180,546; fortran: 34,788; python: 16,572; sh: 2,187; lisp: 2,070; tcl: 993; java: 362; perl: 200; makefile: 133; csh: 81; pascal: 69; xml: 19; ruby: 10
file content (10 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
option(ITK_USE_SYSTEM_GDCM "Use an outside build of GDCM." OFF)
mark_as_advanced(ITK_USE_SYSTEM_GDCM)

if(ITK_USE_SYSTEM_GDCM)
  find_package(GDCM REQUIRED)
  # Avoid UseGDCM.cmake calling include(${VTK_USE_FILE}), which include's
  # VTK's include paths before ITK and causes a MetaIO conflict.
  set(GDCM_USE_VTK FALSE)
  include(${GDCM_USE_FILE})
endif()