1set(OpenCV_VERSION @OPENCV_VERSION_PLAIN@) 2set(PACKAGE_VERSION ${OpenCV_VERSION}) 3 4set(PACKAGE_VERSION_EXACT False) 5set(PACKAGE_VERSION_COMPATIBLE False) 6 7if(PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION) 8 set(PACKAGE_VERSION_EXACT True) 9 set(PACKAGE_VERSION_COMPATIBLE True) 10endif() 11 12if(PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION) 13 set(PACKAGE_VERSION_COMPATIBLE True) 14endif() 15