Commit f5306a07 authored by Alexander Alekhin's avatar Alexander Alekhin

cmake: change CMP0042 policy value

parent 4597b940
......@@ -81,9 +81,8 @@ if(POLICY CMP0026)
cmake_policy(SET CMP0026 OLD)
endif()
if (POLICY CMP0042)
# silence cmake 3.0+ warnings about MACOSX_RPATH
cmake_policy(SET CMP0042 OLD)
if(POLICY CMP0042)
cmake_policy(SET CMP0042 NEW)
endif()
include(cmake/OpenCVUtils.cmake)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment