cmake: change CMP0042 policy value

This commit is contained in:
Alexander Alekhin 2016-06-20 17:19:13 +03:00
parent 4597b94099
commit f5306a0740

View File

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