Merge pull request #6704 from alalek:cmake_cmp0042

This commit is contained in:
Alexander Alekhin 2016-06-21 10:46:08 +00:00
commit 89cd74093e

View File

@ -82,8 +82,7 @@ if(POLICY CMP0026)
endif() endif()
if(POLICY CMP0042) if(POLICY CMP0042)
# silence cmake 3.0+ warnings about MACOSX_RPATH cmake_policy(SET CMP0042 NEW)
cmake_policy(SET CMP0042 OLD)
endif() endif()
include(cmake/OpenCVUtils.cmake) include(cmake/OpenCVUtils.cmake)