Merge pull request #6704 from alalek:cmake_cmp0042

pull/6708/head
Alexander Alekhin 9 years ago
commit 89cd74093e
  1. 5
      CMakeLists.txt

@ -81,9 +81,8 @@ if(POLICY CMP0026)
cmake_policy(SET CMP0026 OLD) cmake_policy(SET CMP0026 OLD)
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)

Loading…
Cancel
Save