mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-23 15:07:49 +08:00
15 lines
392 B
CMake
15 lines
392 B
CMake
|
set(Tesseract_VERSION @VERSION_PLAIN@)
|
||
|
set(PACKAGE_VERSION ${Tesseract_VERSION})
|
||
|
|
||
|
set(PACKAGE_VERSION_EXACT False)
|
||
|
set(PACKAGE_VERSION_COMPATIBLE False)
|
||
|
|
||
|
if(PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
|
||
|
set(PACKAGE_VERSION_EXACT True)
|
||
|
set(PACKAGE_VERSION_COMPATIBLE True)
|
||
|
endif()
|
||
|
|
||
|
if(PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION)
|
||
|
set(PACKAGE_VERSION_COMPATIBLE True)
|
||
|
endif()
|