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