diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-12-19 20:10:33 -0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2020-01-19 09:01:20 -0800 |
| commit | 636660b7b2431da724d391d237d3680a72470121 (patch) | |
| tree | a1a9e8d9ad56feea8b74b7004ba1012f7425f77e | |
| parent | 2ce57e0b6c51eda6c7d8ae36ebf36ff9044b03f1 (diff) | |
| download | meta-openembedded-636660b7b2431da724d391d237d3680a72470121.tar.gz | |
websocketapp: Fix multilib build
Fixes
ERROR: websocketpp-0.8.1-r0 do_package: QA Issue: websocketpp: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/cmake
/usr/lib/cmake/websocketpp
/usr/lib/cmake/websocketpp/websocketpp-configVersion.cmake
/usr/lib/cmake/websocketpp/websocketpp-config.cmake
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b1a85631279b8f04b38562f9cf076f4cc0561a71)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-cmake-Use-GNUInstallDirs.patch | 35 | ||||
| -rw-r--r-- | meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-cmake-Use-GNUInstallDirs.patch b/meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-cmake-Use-GNUInstallDirs.patch new file mode 100644 index 0000000000..0ef2e12375 --- /dev/null +++ b/meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-cmake-Use-GNUInstallDirs.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 771d79eeb0ac5079482a4b3a131bbda744793e7d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 19 Dec 2019 20:07:11 -0800 | ||
| 4 | Subject: [PATCH] cmake: Use GNUInstallDirs | ||
| 5 | |||
| 6 | Helps install cmakefiles in right libdir | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://github.com/zaphoyd/websocketpp/pull/854] | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | CMakeLists.txt | 4 +++- | ||
| 12 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 15 | index 2786aba..080be3e 100644 | ||
| 16 | --- a/CMakeLists.txt | ||
| 17 | +++ b/CMakeLists.txt | ||
| 18 | @@ -39,11 +39,13 @@ endif() | ||
| 19 | |||
| 20 | set_property(GLOBAL PROPERTY USE_FOLDERS ON) | ||
| 21 | |||
| 22 | +include(GNUInstallDirs) | ||
| 23 | + | ||
| 24 | set(INSTALL_INCLUDE_DIR include CACHE PATH "Installation directory for header files") | ||
| 25 | if (WIN32 AND NOT CYGWIN) | ||
| 26 | set (DEF_INSTALL_CMAKE_DIR cmake) | ||
| 27 | else () | ||
| 28 | - set (DEF_INSTALL_CMAKE_DIR lib/cmake/websocketpp) | ||
| 29 | + set (DEF_INSTALL_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/websocketpp) | ||
| 30 | endif () | ||
| 31 | set (INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files") | ||
| 32 | |||
| 33 | -- | ||
| 34 | 2.24.1 | ||
| 35 | |||
diff --git a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb index 551621708c..05f14d2f42 100644 --- a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb +++ b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb | |||
| @@ -8,6 +8,7 @@ DEPENDS = "openssl boost zlib" | |||
| 8 | SRC_URI = "git://github.com/zaphoyd/websocketpp.git;protocol=https \ | 8 | SRC_URI = "git://github.com/zaphoyd/websocketpp.git;protocol=https \ |
| 9 | file://0001-Replace-make_shared-with-new-in-some-cases.patch \ | 9 | file://0001-Replace-make_shared-with-new-in-some-cases.patch \ |
| 10 | file://0002-Fix-missed-entries-fix-testing.patch \ | 10 | file://0002-Fix-missed-entries-fix-testing.patch \ |
| 11 | file://0001-cmake-Use-GNUInstallDirs.patch \ | ||
| 11 | " | 12 | " |
| 12 | 13 | ||
| 13 | # tag 0.8.1 | 14 | # tag 0.8.1 |
