15 lines
417 B
CMake
15 lines
417 B
CMake
set(OpenCV_VERSION @OPENCV_VERSION@)
|
|
set(PACKAGE_VERSION ${OpenCV_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()
|