Home | History | Annotate | Download | only in llvm
      1 set(PACKAGE_VERSION "6.0.1svn")
      2 
      3 # LLVM is API-compatible only with matching major.minor versions
      4 # and patch versions not less than that requested.
      5 if("6.0" VERSION_EQUAL
      6     "${PACKAGE_FIND_VERSION_MAJOR}.${PACKAGE_FIND_VERSION_MINOR}"
      7    AND NOT "1" VERSION_LESS "${PACKAGE_FIND_VERSION_PATCH}")
      8   set(PACKAGE_VERSION_COMPATIBLE 1)
      9   if("1" VERSION_EQUAL
     10       "${PACKAGE_FIND_VERSION_PATCH}")
     11     set(PACKAGE_VERSION_EXACT 1)
     12   endif()
     13 endif()
     14