cmake_minimum_required(VERSION 2.8)

project(DumpSlideInformation CXX)

find_package(ITK REQUIRED
  COMPONENTS
    ITKCommon
    ITKIOImageBase
    ITKIOTIFF
    IOOpenSlide
    ITKIOJPEG
    ITKIOPNG
  )
include(${ITK_USE_FILE})

add_definitions(-D_USE_MATH_DEFINES=1)

add_executable(DumpSlideInformation DumpSlideInformation.cxx)
target_link_libraries(DumpSlideInformation ${ITK_LIBRARIES})

cmake_minimum_required(VERSION 3.10.2)

project(DumpSlideInformation CXX)

find_package(ITK REQUIRED
  COMPONENTS
    ITKCommon
    ITKIOImageBase
    ITKIOTIFF
    IOOpenSlide
    ITKIOJPEG
    ITKIOPNG
  )
include(${ITK_USE_FILE})

add_definitions(-D_USE_MATH_DEFINES=1)

add_executable(DumpSlideInformation DumpSlideInformation.cxx)
target_link_libraries(DumpSlideInformation ${ITK_LIBRARIES})

Update minimum required CMake version in examples.
ENH: Update minimum required CMake version in examples.

Update minimum required CMake version in examples to conform to current
ITK requirements.
