ITK/Examples/CMake/CheckForITK4

From KitwarePublic
< ITK‎ | Examples
Jump to navigationJump to search

CMakeLists.txt

<source lang="cmake">

  1. This is what is usually done to require any version of ITK
  2. find_package(ITK REQUIRED)
  3. include(${ITK_USE_FILE})
  1. This requires ITK4

find_package(ITK 4 REQUIRED) include(${ITK_USE_FILE}) </source>