if(NOT "${PACKAGE_FIND_VERSION}" VERSION_GREATER "@SimpleITK_VERSION@")
  set(PACKAGE_VERSION_COMPATIBLE 1) # compatible with older
  if("${PACKAGE_FIND_VERSION}" VERSION_EQUAL "${PACKAGE_VERSION}")
    set(PACKAGE_VERSION_EXACT 1) # exact match for this version
  endif()
endif()

set(PACKAGE_VERSION "@SimpleITK_VERSION@")

if(NOT "${PACKAGE_FIND_VERSION}" VERSION_GREATER "@SimpleITK_VERSION@")
  set(PACKAGE_VERSION_COMPATIBLE 1) # compatible with older
  if("${PACKAGE_FIND_VERSION}" VERSION_EQUAL "${PACKAGE_VERSION}")
    set(PACKAGE_VERSION_EXACT 1) # exact match for this version
  endif()
endif()

Add SimpleITK_VERSION variable defined after find_package
BUG: Add SimpleITK_VERSION variable defined after find_package

No SimpleITK_VERSION variables were defined after neither
find_package(SimpleITK) nor include(${SimpleITK_USE_FILE}). The
PACKAGE_VERSION variable is now defined in the version config file
which automatically sets the major.minor.tweak component
variables.

Change-Id: I59ff2e500a56e0400655673ec6d64a80cd5d6ba1
