Merge pull request #16300 from Palmitoxico:cmake-cmp0077

This commit is contained in:
Alexander Alekhin 2020-01-08 21:52:30 +00:00
commit 1a74de1f9c

View File

@ -68,6 +68,9 @@ if(POLICY CMP0075)
cmake_policy(SET CMP0075 NEW) # CMake 3.12+: Include file check macros honor `CMAKE_REQUIRED_LIBRARIES`
endif()
if(POLICY CMP0077)
cmake_policy(SET CMP0077 NEW) # CMake 3.13+: option() honors normal variables.
endif()
#
# Configure OpenCV CMake hooks