10 lines
468 B
CMake
10 lines
468 B
CMake
|
SET(PACKAGE_VERSION "@QJSON_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)
|