summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch')
-rw-r--r--meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch b/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch
deleted file mode 100644
index 6dd48fcdc..000000000
--- a/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 2bc6bb9831d07f035fea74ea745cea43dd5f9ef9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 9 Sep 2017 23:48:31 -0700
4Subject: [PATCH] Dont use isystem
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8Upstream-Status: Pending
9
10 cmake/OpenCVPCHSupport.cmake | 10 ++++------
11 1 file changed, 4 insertions(+), 6 deletions(-)
12
13Index: git/cmake/OpenCVPCHSupport.cmake
14===================================================================
15--- git.orig/cmake/OpenCVPCHSupport.cmake
16+++ git/cmake/OpenCVPCHSupport.cmake
17@@ -17,7 +17,8 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
18 IF(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.2.0")
19 SET(PCHSupport_FOUND TRUE)
20 ENDIF()
21-
22+ SET(CMAKE_INCLUDE_SYSTEM_FLAG_C "-I")
23+ SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-I")
24 SET(_PCH_include_prefix "-I")
25 SET(_PCH_isystem_prefix "-isystem")
26 SET(_PCH_define_prefix "-D")