Home | History | Annotate | Line # | Download | only in cmake
      1      1.1  christos # Generated by OpenSSL
      2  1.1.1.2  christos # {- $OpenSSL::safe::installdata::COMMENT // "" -}
      3      1.1  christos 
      4      1.1  christos set(PACKAGE_VERSION {- $config{version} -})
      5      1.1  christos 
      6      1.1  christos if(NOT PACKAGE_FIND_VERSION)
      7      1.1  christos   # find_package() was called without any version information.  This is assumed to
      8      1.1  christos   # mean that the caller accepts whatever they get.
      9      1.1  christos   set(PACKAGE_VERSION_COMPATIBLE 1)
     10      1.1  christos elseif(PACKAGE_FIND_VERSION_MAJOR LESS {- my $x = $config{version}; $x =~ s/\..*//; $x -}
     11      1.1  christos    OR PACKAGE_FIND_VERSION VERSION_GREATER {- $config{version} -})
     12      1.1  christos   set(PACKAGE_VERSION_UNSUITABLE 1)
     13      1.1  christos else()
     14      1.1  christos   set(PACKAGE_VERSION_COMPATIBLE 1)
     15      1.1  christos   if(PACKAGE_FIND_VERSION VERSION_EQUAL {- $config{version} -})
     16      1.1  christos     set(PACKAGE_VERSION_EXACT 1)
     17      1.1  christos   endif()
     18      1.1  christos endif()
     19