OpenCVConfig-version.cmake 379 Bytes
Newer Older
wester committed
1
set(OpenCV_VERSION 2.4.13.3)
wester committed
2 3 4 5 6 7 8 9 10 11
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()

wester committed
12
if(PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION)
wester committed
13 14
  set(PACKAGE_VERSION_COMPATIBLE True)
endif()