File: itk-module-init.cmake

package info (click to toggle)
insighttoolkit4 4.10.1-dfsg1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 416,780 kB
  • ctags: 104,347
  • sloc: cpp: 553,142; ansic: 142,389; fortran: 34,788; python: 16,392; lisp: 2,070; sh: 1,862; tcl: 993; java: 362; perl: 200; makefile: 111; 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()