project(AnisotropicDiffusionLBR)

if(ITK_SOURCE_DIR)
  itk_module_impl()
else()
  cmake_minimum_required(VERSION 2.8)
  find_package(ITK REQUIRED)
  set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ITK_CMAKE_DIR})
  include(ITKExternalModuleMacros)
  itk_module_impl()
  #add_subdirectory(src)
  #add_subdirectory(test)
endif()

cmake_minimum_required(VERSION 2.8.9)
project(AnisotropicDiffusionLBR)

if(NOT ITK_SOURCE_DIR)
  find_package(ITK 4.9 REQUIRED)
  list(APPEND CMAKE_MODULE_PATH ${ITK_CMAKE_DIR})
  include(ITKModuleExternal)
else()
  itk_module_impl()
endif()

Update ExternalModule build for ITK 4.9.
BUG: Update ExternalModule build for ITK 4.9.
