summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch26
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.3.1.bb (renamed from meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb)8
2 files changed, 21 insertions, 13 deletions
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch
index 2436b36f2d..fba9a8767f 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch
+++ b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch
@@ -8,7 +8,7 @@ This ensures the install paths are not hardcoded.
8Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9--- 9---
10Upstream-Status: Pending 10Upstream-Status: Pending
11 11---
12 cmake/CMakeLists.txt | 4 ++-- 12 cmake/CMakeLists.txt | 4 ++--
13 src/samples/CMakeLists.txt | 4 ++-- 13 src/samples/CMakeLists.txt | 4 ++--
14 2 files changed, 4 insertions(+), 4 deletions(-) 14 2 files changed, 4 insertions(+), 4 deletions(-)
@@ -33,19 +33,27 @@ index a9f8908..7eadc60 100644
33- DESTINATION lib/cmake/${package_name}) 33- DESTINATION lib/cmake/${package_name})
34+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${package_name}) 34+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${package_name})
35diff --git a/src/samples/CMakeLists.txt b/src/samples/CMakeLists.txt 35diff --git a/src/samples/CMakeLists.txt b/src/samples/CMakeLists.txt
36index 953f5dc..d26729a 100644 36index 3ca0a75..c915cd5 100644
37--- a/src/samples/CMakeLists.txt 37--- a/src/samples/CMakeLists.txt
38+++ b/src/samples/CMakeLists.txt 38+++ b/src/samples/CMakeLists.txt
39@@ -103,7 +103,7 @@ endif() 39@@ -71,7 +71,7 @@ endforeach()
40 40
41 ## install binaries 41 ## install binaries
42 install(TARGETS ${INSTALL_TARGETS} EXPORT PahoMqttCppSamples 42 install(TARGETS ${EXECUTABLES} EXPORT PahoMqttCppSamples
43- RUNTIME DESTINATION bin 43- RUNTIME DESTINATION bin
44- LIBRARY DESTINATION lib 44+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
45+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
46+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
47 ) 45 )
48 46
47 ## Build the SSL/TLS samples, if selected
48@@ -89,7 +89,7 @@ if(PAHO_WITH_SSL)
49 endforeach()
50
51 install(TARGETS ${SSL_EXECUTABLES} EXPORT PahoMqttCppSamples
52- RUNTIME DESTINATION bin
53+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
54 )
55 endif()
56
49-- 57--
502.35.1 582.34.1
51 59
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.3.1.bb
index bb5aa69077..1e1e923399 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.3.1.bb
@@ -2,18 +2,18 @@ SUMMARY = "Paho MQTT - C++ libraries for the MQTT and MQTT-SN protocols"
2DESCRIPTION = "Client implementation of open and standard messaging protocols for Machine-to-Machine (M2M) and Internet of Things (IoT)." 2DESCRIPTION = "Client implementation of open and standard messaging protocols for Machine-to-Machine (M2M) and Internet of Things (IoT)."
3HOMEPAGE = "http://www.eclipse.org/paho/" 3HOMEPAGE = "http://www.eclipse.org/paho/"
4SECTION = "console/network" 4SECTION = "console/network"
5LICENSE = "EPL-1.0 | EDL-1.0" 5LICENSE = "EPL-2.0 | EDL-1.0"
6 6
7LIC_FILES_CHKSUM = " \ 7LIC_FILES_CHKSUM = " \
8 file://src/mqtt/message.h;beginline=9;endline=18;md5=5eec304e6066523386c222963ceeb6ff \ 8 file://src/mqtt/message.h;beginline=9;endline=18;md5=c5ceecf5ab99d44dcfaaabdce289071b \
9 file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \ 9 file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \
10 file://epl-v10;md5=659c8e92a40b6df1d9e3dccf5ae45a08 \ 10 file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \
11" 11"
12 12
13SRC_URI = "git://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=master \ 13SRC_URI = "git://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=master \
14 file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch \ 14 file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch \
15" 15"
16SRCREV = "33921c8b68b351828650c36816e7ecf936764379" 16SRCREV = "4691652479bb4b398c7b81bde639482b164ae6d6"
17 17
18DEPENDS = "openssl paho-mqtt-c" 18DEPENDS = "openssl paho-mqtt-c"
19 19