mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +08:00
18 lines
620 B
CMake
18 lines
620 B
CMake
|
# Generated by OpenSSL
|
||
|
|
||
|
set(PACKAGE_VERSION {- $config{version} -})
|
||
|
|
||
|
if(NOT PACKAGE_FIND_VERSION)
|
||
|
# find_package() was called without any version information. This is assumed to
|
||
|
# mean that the caller accepts whatever they get.
|
||
|
set(PACKAGE_VERSION_COMPATIBLE 1)
|
||
|
elseif(PACKAGE_FIND_VERSION_MAJOR LESS {- my $x = $config{version}; $x =~ s/\..*//; $x -}
|
||
|
OR PACKAGE_FIND_VERSION VERSION_GREATER {- $config{version} -})
|
||
|
set(PACKAGE_VERSION_UNSUITABLE 1)
|
||
|
else()
|
||
|
set(PACKAGE_VERSION_COMPATIBLE 1)
|
||
|
if(PACKAGE_FIND_VERSION VERSION_EQUAL {- $config{version} -})
|
||
|
set(PACKAGE_VERSION_EXACT 1)
|
||
|
endif()
|
||
|
endif()
|