File: opencv.patch

package info (click to toggle)
pocl 6.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,320 kB
  • sloc: lisp: 149,513; ansic: 103,778; cpp: 54,947; python: 1,513; sh: 949; ruby: 255; pascal: 226; tcl: 180; makefile: 175; java: 72; xml: 49
file content (24 lines) | stat: -rw-r--r-- 893 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/opencv-3.0.0-beta/cmake/OpenCVDetectOpenCL.cmake b/opencv-3.0.0-beta/cmake/OpenCVDetectOpenCL.cmake

--- a/opencv-3.0.0-beta/cmake/OpenCVDetectOpenCL.cmake
+++ b/opencv-3.0.0-beta/cmake/OpenCVDetectOpenCL.cmake
@@ -7,7 +7,7 @@
 else(APPLE)
   set(OPENCL_FOUND YES)
   set(HAVE_OPENCL_STATIC OFF)
-  set(OPENCL_INCLUDE_DIR "${OpenCV_SOURCE_DIR}/3rdparty/include/opencl/1.2")
+  set(OPENCL_INCLUDE_DIR "${OpenCV_SOURCE_DIR}/../../../include/")
 endif(APPLE)
 
 if(OPENCL_FOUND)
--- a/opencv-3.0.0-beta/cmake/OpenCVPCHSupport.cmake	2017-08-04 12:56:24.393300005 +0200
+++ b/opencv-3.0.0-beta/cmake/OpenCVPCHSupport.cmake	2017-08-04 12:56:08.969876062 +0200
@@ -24,7 +24,7 @@
     ENDIF()
 
     SET(_PCH_include_prefix "-I")
-    SET(_PCH_isystem_prefix "-isystem")
+    SET(_PCH_isystem_prefix "-I")
     SET(_PCH_define_prefix "-D")
 
 ELSEIF(CMAKE_GENERATOR MATCHES "^Visual.*$")