Merge pull request #6551 from mshabunin:fix-old-cmake

This commit is contained in:
Vadim Pisarevsky 2016-05-25 13:13:50 +00:00
commit 98c9d47537

View File

@ -605,7 +605,7 @@ include(cmake/OpenCVDetectVTK.cmake)
# -- Custom HAL replacement --
# Package config in: OpenCV_HALConfig.cmake or opencv_hal-config.cmake
# Use variables: OpenCV_HAL_LIBRARIES, OpenCV_HAL_HEADERS and OpenCV_HAL_INCLUDE_DIRS variables
find_package(OpenCV_HAL CONFIG QUIET)
find_package(OpenCV_HAL NO_MODULE QUIET)
set(_includes "")
if (OpenCV_HAL_FOUND)
# 1. libraries