OpenSSLConfigVersion.cmake.in 620 B

1234567891011121314151617
  1. # Generated by OpenSSL
  2. set(PACKAGE_VERSION {- $config{version} -})
  3. if(NOT PACKAGE_FIND_VERSION)
  4. # find_package() was called without any version information. This is assumed to
  5. # mean that the caller accepts whatever they get.
  6. set(PACKAGE_VERSION_COMPATIBLE 1)
  7. elseif(PACKAGE_FIND_VERSION_MAJOR LESS {- my $x = $config{version}; $x =~ s/\..*//; $x -}
  8. OR PACKAGE_FIND_VERSION VERSION_GREATER {- $config{version} -})
  9. set(PACKAGE_VERSION_UNSUITABLE 1)
  10. else()
  11. set(PACKAGE_VERSION_COMPATIBLE 1)
  12. if(PACKAGE_FIND_VERSION VERSION_EQUAL {- $config{version} -})
  13. set(PACKAGE_VERSION_EXACT 1)
  14. endif()
  15. endif()