opencv/OpenCVConfig-version.cmake.in

15 lines
401 B
CMake
Raw Normal View History

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)
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()
if(PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION)
2011-07-01 09:25:27 +08:00
set(PACKAGE_VERSION_COMPATIBLE True)
endif()