mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
cmake: change CMP0042 policy value
This commit is contained in:
+2
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user