2011-07-01 09:25:27 +08:00
|
|
|
set(OpenCV_VERSION @OPENCV_VERSION@)
|
2011-06-29 00:19:35 +08:00
|
|
|
set(PACKAGE_VERSION ${OpenCV_VERSION})
|
2011-07-01 09:25:27 +08:00
|
|
|
|
|
|
|
set(PACKAGE_VERSION_EXACT False)
|
|
|
|
set(PACKAGE_VERSION_COMPATIBLE False)
|
|
|
|
|
2011-07-04 19:40:27 +08:00
|
|
|
if(PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
|
2011-07-01 09:25:27 +08:00
|
|
|
set(PACKAGE_VERSION_EXACT True)
|
|
|
|
set(PACKAGE_VERSION_COMPATIBLE True)
|
|
|
|
endif()
|
|
|
|
|
2011-07-04 19:40:27 +08:00
|
|
|
if(PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION)
|
2011-07-01 09:25:27 +08:00
|
|
|
set(PACKAGE_VERSION_COMPATIBLE True)
|
2011-06-29 00:02:09 +08:00
|
|
|
endif()
|