ITK/Examples/CMake/CheckForITK4

From KitwarePublic
< ITK‎ | Examples
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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>