Removed obsolete CMake workaround.
authorRoman Donchenko <roman.donchenko@itseez.com>
Wed, 7 Aug 2013 10:45:44 +0000 (14:45 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Thu, 8 Aug 2013 08:03:41 +0000 (12:03 +0400)
cmake/OpenCVFindLibsGrfmt.cmake

index bd62264..8b6c25a 100644 (file)
@@ -199,8 +199,3 @@ if(WITH_OPENEXR)
 
   set(HAVE_OPENEXR YES)
 endif()
-
-#cmake 2.8.2 bug - it fails to determine zlib version
-if(ZLIB_FOUND)
-  ocv_parse_header2(ZLIB "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_VERSION)
-endif()