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