# The full VTK version number.
SET(PACKAGE_VERSION "@_VTK_VERSION_MAJOR@.@_VTK_VERSION_MINOR@.@_VTK_VERSION_PATCH@")

# This version is compatible only with matching major.minor versions.
IF("@_VTK_VERSION_MAJOR@.@_VTK_VERSION_MINOR@" VERSION_EQUAL "${PACKAGE_FIND_VERSION_MAJOR}.${PACKAGE_FIND_VERSION_MINOR}")
  # This version is compatible with equal or lesser patch versions.
  IF(NOT "@_VTK_VERSION_PATCH@" VERSION_LESS "${PACKAGE_FIND_VERSION_PATCH}")
    SET(PACKAGE_VERSION_COMPATIBLE 1)
    IF("@_VTK_VERSION_PATCH@" VERSION_EQUAL "${PACKAGE_FIND_VERSION_PATCH}")
      SET(PACKAGE_VERSION_EXACT 1)
    ENDIF()
  ENDIF()
ENDIF()
