Restored cmake 2.8.7 support

This commit is contained in:
Maksim Shabunin 2016-05-18 13:20:21 +03:00
parent c3d1f94ee6
commit d043a61897

View File

@ -605,7 +605,7 @@ include(cmake/OpenCVDetectVTK.cmake)
# -- Custom HAL replacement -- # -- Custom HAL replacement --
# Package config in: OpenCV_HALConfig.cmake or opencv_hal-config.cmake # 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 # 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 "") set(_includes "")
if (OpenCV_HAL_FOUND) if (OpenCV_HAL_FOUND)
# 1. libraries # 1. libraries