diff options
author | Chris Dimich <Chris.Dimich@boundarydevices.com> | 2021-03-01 16:27:43 -0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-03-02 19:26:05 -0300 |
commit | 852bda2f1c87f2afaf697c6d3fc6d8c119d6e65a (patch) | |
tree | f176df277f2ce360a26cdaedf8c2c06ab8dc5e36 /recipes-support/opencv/opencv/0001-Dont-use-isystem.patch | |
parent | aedfe1557e82da6efa53c12b08dbacc38bb674b5 (diff) | |
download | meta-freescale-852bda2f1c87f2afaf697c6d3fc6d8c119d6e65a.tar.gz |
opencv_4.4.0.imx: add recipe
Add recipe to support additional machine learning demos and tiny dnn.
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
(cherry picked from commit dc6bebac65d3733548de568f31ca5bfbf9e8a8a5)
Diffstat (limited to 'recipes-support/opencv/opencv/0001-Dont-use-isystem.patch')
-rw-r--r-- | recipes-support/opencv/opencv/0001-Dont-use-isystem.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch b/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch new file mode 100644 index 00000000..948a80fa --- /dev/null +++ b/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 66e50ee69fa9ee2469d349100e70d8b296c4b4dc Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 11 Sep 2018 00:21:18 -0700 | ||
4 | Subject: [PATCH] Dont use isystem | ||
5 | |||
6 | clang really does not like it | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | |||
12 | --- | ||
13 | cmake/OpenCVPCHSupport.cmake | 2 ++ | ||
14 | 1 file changed, 2 insertions(+) | ||
15 | |||
16 | diff --git a/cmake/OpenCVPCHSupport.cmake b/cmake/OpenCVPCHSupport.cmake | ||
17 | index 08cd06def4..46c9c02da3 100644 | ||
18 | --- a/cmake/OpenCVPCHSupport.cmake | ||
19 | +++ b/cmake/OpenCVPCHSupport.cmake | ||
20 | @@ -18,6 +18,8 @@ IF(CV_GCC) | ||
21 | SET(PCHSupport_FOUND TRUE) | ||
22 | ENDIF() | ||
23 | |||
24 | + SET(CMAKE_INCLUDE_SYSTEM_FLAG_C "-I") | ||
25 | + SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-I") | ||
26 | SET(_PCH_include_prefix "-I") | ||
27 | SET(_PCH_isystem_prefix "-isystem") | ||
28 | SET(_PCH_define_prefix "-D") | ||