diff options
| -rw-r--r-- | meta-oe/recipes-support/opencv/ade/0001-use-GNUInstallDirs-for-detecting-install-paths.patch | 39 | ||||
| -rw-r--r-- | meta-oe/recipes-support/opencv/ade_0.1.2.bb (renamed from meta-oe/recipes-support/opencv/ade_0.1.1f.bb) | 6 |
2 files changed, 2 insertions, 43 deletions
diff --git a/meta-oe/recipes-support/opencv/ade/0001-use-GNUInstallDirs-for-detecting-install-paths.patch b/meta-oe/recipes-support/opencv/ade/0001-use-GNUInstallDirs-for-detecting-install-paths.patch deleted file mode 100644 index f038b0aa91..0000000000 --- a/meta-oe/recipes-support/opencv/ade/0001-use-GNUInstallDirs-for-detecting-install-paths.patch +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | From 67ccf77d97b76e8260c9d793ab172577e2393dbc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 19 Dec 2019 21:33:46 -0800 | ||
| 4 | Subject: [PATCH] use GNUInstallDirs for detecting install paths | ||
| 5 | |||
| 6 | This helps with multilib builds | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://github.com/opencv/ade/pull/19] | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | sources/ade/CMakeLists.txt | 10 ++++++---- | ||
| 12 | 1 file changed, 6 insertions(+), 4 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/sources/ade/CMakeLists.txt b/sources/ade/CMakeLists.txt | ||
| 15 | index 2d1dd20..46415d1 100644 | ||
| 16 | --- a/sources/ade/CMakeLists.txt | ||
| 17 | +++ b/sources/ade/CMakeLists.txt | ||
| 18 | @@ -47,12 +47,14 @@ if(BUILD_ADE_DOCUMENTATION) | ||
| 19 | VERBATIM) | ||
| 20 | endif() | ||
| 21 | |||
| 22 | +include(GNUInstallDirs) | ||
| 23 | + | ||
| 24 | install(TARGETS ade COMPONENT dev | ||
| 25 | EXPORT adeTargets | ||
| 26 | - ARCHIVE DESTINATION lib | ||
| 27 | - LIBRARY DESTINATION lib | ||
| 28 | - RUNTIME DESTINATION lib | ||
| 29 | - INCLUDES DESTINATION include) | ||
| 30 | + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
| 31 | + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
| 32 | + RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
| 33 | + INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) | ||
| 34 | |||
| 35 | install(EXPORT adeTargets DESTINATION share/ade COMPONENT dev) | ||
| 36 | |||
| 37 | -- | ||
| 38 | 2.24.1 | ||
| 39 | |||
diff --git a/meta-oe/recipes-support/opencv/ade_0.1.1f.bb b/meta-oe/recipes-support/opencv/ade_0.1.2.bb index 48a45143db..93b14ad4f3 100644 --- a/meta-oe/recipes-support/opencv/ade_0.1.1f.bb +++ b/meta-oe/recipes-support/opencv/ade_0.1.2.bb | |||
| @@ -4,11 +4,9 @@ and processing framework. ADE Framework is suitable for \ | |||
| 4 | organizing data flow processing and execution." | 4 | organizing data flow processing and execution." |
| 5 | HOMEPAGE = "https://github.com/opencv/ade" | 5 | HOMEPAGE = "https://github.com/opencv/ade" |
| 6 | 6 | ||
| 7 | SRC_URI = "git://github.com/opencv/ade.git;branch=master;protocol=https \ | 7 | SRC_URI = "git://github.com/opencv/ade.git;branch=master;protocol=https" |
| 8 | file://0001-use-GNUInstallDirs-for-detecting-install-paths.patch \ | ||
| 9 | " | ||
| 10 | 8 | ||
| 11 | SRCREV = "58b2595a1a95cc807be8bf6222f266a9a1f393a9" | 9 | SRCREV = "1e02d7486bdb9c87993d91b9910e7cc6c4ddbf66" |
| 12 | 10 | ||
| 13 | LICENSE = "Apache-2.0" | 11 | LICENSE = "Apache-2.0" |
| 14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
