ITK/Examples/CMake/CheckForITK4
From KitwarePublic
< ITK | Examples
Jump to navigationJump to search
Revision as of 16:30, 23 June 2012 by Daviddoria (talk | contribs) (Created page with "==CMakeLists.txt== <source lang="cmake"> # This is what is usually done to require any version of ITK # find_package(ITK REQUIRED) # include(${ITK_USE_FILE}) # This requires ITK...")
CMakeLists.txt
<source lang="cmake">
- This is what is usually done to require any version of ITK
- find_package(ITK REQUIRED)
- include(${ITK_USE_FILE})
- This requires ITK4
find_package(ITK 4 REQUIRED) include(${ITK_USE_FILE}) </source>