project(SuperPixel)
# set(SuperPixel_LIBRARIES SuperPixel) not library
itk_module_impl()

cmake_minimum_required(VERSION 2.8.9)
project(SuperPixel)
# set(SuperPixel_LIBRARIES SuperPixel) not library

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

Add support to build module out side of ITK
Add support to build module out side of ITK
