File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ include_directories(${CMAKE_BINARY_DIR})
4747if (NOT ITK_SOURCE_DIR)
4848 include (ITKModuleExternal)
4949else ()
50+ set (ITK_DIR ${CMAKE_BINARY_DIR} )
5051 itk_module_impl()
5152endif ()
5253add_subdirectory (examples)
Original file line number Diff line number Diff line change 11# An option to allow building against ITK before 2018-02-20 when itkBuildInformation.h was not available
2- option (ITK_HAS_INFORMATION_H "If itk::BuildInformation::GetInstance is available (after 2018-02-20)" ON )
2+ if (ITK_VERSION_MAJOR LESS 5)
3+ set (HAS_INFO OFF )
4+ else ()
5+ set (HAS_INFO ON )
6+ endif ()
7+ option (ITK_HAS_INFORMATION_H "If itk::BuildInformation::GetInstance is available (after 2018-02-20)" ${HAS_INFO} )
38
49include (${CMAKE_CURRENT_LIST_DIR} /../CMake/GetGitRevisionDescription.cmake)
510get_git_head_revision(GIT_CONFIG_REFSPEC GIT_CONFIG_SHA1)
You can’t perform that action at this time.
0 commit comments