From 322d9624a1abdd5cee6291b62f5b2859a9015f62 Mon Sep 17 00:00:00 2001 From: Roger Light Date: Sat, 11 Apr 2015 12:15:36 +0100 Subject: [PATCH] Fix CMake dependencies for libmosquittopp. Enables parallel build mode. Accepted without CLA after discussion with Eclipse Foundation legal about very small patches that can only be implemented in one way. See bug report for acceptance of Certificate of Origin. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463884 Also-by: Gianfranco Costamagna --- ChangeLog.txt | 1 + lib/cpp/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index fac32b6e..2b2a639a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -9,6 +9,7 @@ Client library: - Inflight message count wasn't being decreased for outgoing messages using QoS 2, meaning that only up to 20 QoS 2 messages could be sent. This has been fixed. Closes #464436. +- Fix CMake dependencies for C++ wrapper building. Closes #463884. 1.4.1 - 20150403 diff --git a/lib/cpp/CMakeLists.txt b/lib/cpp/CMakeLists.txt index 68b1453a..0a9fd914 100644 --- a/lib/cpp/CMakeLists.txt +++ b/lib/cpp/CMakeLists.txt @@ -5,7 +5,7 @@ link_directories(${mosquitto_BINARY_DIR}/lib) add_library(mosquittopp SHARED mosquittopp.cpp mosquittopp.h) -target_link_libraries(mosquittopp mosquitto) +target_link_libraries(mosquittopp libmosquitto) set_target_properties(mosquittopp PROPERTIES VERSION ${VERSION} SOVERSION 1