Merge pull request #14146 from alalek:cmake_cmp0068

pull/14161/head^2
Alexander Alekhin 6 years ago
commit 9340fc0c50
  1. 4
      CMakeLists.txt

@ -108,6 +108,10 @@ if(POLICY CMP0067)
cmake_policy(SET CMP0067 NEW)
endif()
if(POLICY CMP0068)
cmake_policy(SET CMP0068 NEW) # CMake 3.9+: `RPATH` settings on macOS do not affect `install_name`.
endif()
include(cmake/OpenCVUtils.cmake)
ocv_cmake_reset_hooks()
ocv_check_environment_variables(OPENCV_CMAKE_HOOKS_DIR)

Loading…
Cancel
Save