From 53ff93f3f968b6bc4d0597d79d5b467e6c16a408 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 4 Jul 2011 11:40:27 +0000 Subject: [PATCH] Removed unnecessary variable disclosures from version config --- OpenCVConfig-version.cmake.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCVConfig-version.cmake.in b/OpenCVConfig-version.cmake.in index e030f940ec..ab11e3927c 100644 --- a/OpenCVConfig-version.cmake.in +++ b/OpenCVConfig-version.cmake.in @@ -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()