summarylogtreecommitdiffstats
path: root/020-opencv2-cmake4-fix.patch
blob: 0a45e3e122c57f27383ee134924f46ff928c82a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,7 +50,7 @@ endif()
 
 if (POLICY CMP0042)
   # silence cmake 3.0+ warnings about MACOSX_RPATH
-  cmake_policy(SET CMP0042 OLD)
+  cmake_policy(SET CMP0042 NEW)
 endif()
 
 # must go before the project command
 if(POLICY CMP0026)