Removed unnecessary variable disclosures from version config

This commit is contained in:
Andrey Kamaev 2011-07-04 11:40:27 +00:00
parent e9d63665b4
commit 53ff93f3f9

View File

@ -4,11 +4,11 @@ set(PACKAGE_VERSION ${OpenCV_VERSION})
set(PACKAGE_VERSION_EXACT False)
set(PACKAGE_VERSION_COMPATIBLE False)
if("${PACKAGE_FIND_VERSION}" VERSION_EQUAL ${PACKAGE_VERSION})
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})
if(PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION)
set(PACKAGE_VERSION_COMPATIBLE True)
endif()