blob: d7a0d76a2aaf9e2cae7915844e27a50bc58f9daa [file] [log] [blame]
Andrew Walbran3d2c1972020-04-07 12:24:26 +01001set(PACKAGE_VERSION "9.0.8svn")
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01002
3# LLVM is API-compatible only with matching major.minor versions
4# and patch versions not less than that requested.
Andrew Walbran16937d02019-10-22 13:54:20 +01005if("9.0" VERSION_EQUAL
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01006 "${PACKAGE_FIND_VERSION_MAJOR}.${PACKAGE_FIND_VERSION_MINOR}"
Andrew Walbran3d2c1972020-04-07 12:24:26 +01007 AND NOT "8" VERSION_LESS "${PACKAGE_FIND_VERSION_PATCH}")
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01008 set(PACKAGE_VERSION_COMPATIBLE 1)
Andrew Walbran3d2c1972020-04-07 12:24:26 +01009 if("8" VERSION_EQUAL
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010010 "${PACKAGE_FIND_VERSION_PATCH}")
11 set(PACKAGE_VERSION_EXACT 1)
12 endif()
13endif()