mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-24 09:20:58 +01:00
11 lines
469 B
CMake
11 lines
469 B
CMake
|
SET(PACKAGE_VERSION "@LIB_VERSION_STRING@")
|
||
|
|
||
|
IF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
|
||
|
SET(PACKAGE_VERSION_EXACT "true")
|
||
|
ENDIF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
|
||
|
IF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
|
||
|
SET(PACKAGE_VERSION_COMPATIBLE "true")
|
||
|
ELSE (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
|
||
|
SET(PACKAGE_VERSION_UNSUITABLE "true")
|
||
|
ENDIF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
|