Skip to content

Commit c443a3d

Browse files
committed
cmake: set CMP0068 => NEW
1 parent 5f88bbe commit c443a3d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ if(POLICY CMP0067)
108108
cmake_policy(SET CMP0067 NEW)
109109
endif()
110110

111+
if(POLICY CMP0068)
112+
cmake_policy(SET CMP0068 NEW) # CMake 3.9+: `RPATH` settings on macOS do not affect `install_name`.
113+
endif()
114+
111115
include(cmake/OpenCVUtils.cmake)
112116
ocv_cmake_reset_hooks()
113117
ocv_check_environment_variables(OPENCV_CMAKE_HOOKS_DIR)

0 commit comments

Comments
 (0)