Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #989. #990

Merged
merged 2 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ FIND_PACKAGE (Threads REQUIRED)
SET (MQTT_BOOST_COMPONENTS)
IF (MQTT_USE_LOG)
MESSAGE (STATUS "Logging enabled")
SET (MQTT_BOOST_COMPONENTS system date_time log filesystem thread program_options)
SET (MQTT_BOOST_COMPONENTS log filesystem thread program_options)
ELSE ()
MESSAGE (STATUS "Logging disabled")
SET (MQTT_BOOST_COMPONENTS system date_time program_options)
SET (MQTT_BOOST_COMPONENTS program_options)
ENDIF ()
FIND_PACKAGE (Boost 1.74.0 REQUIRED COMPONENTS ${MQTT_BOOST_COMPONENTS})

Expand Down
2 changes: 1 addition & 1 deletion include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SET(ROOT_MQTT_TARGET include/mqtt)

ADD_LIBRARY(${PROJECT_NAME} INTERFACE)

TARGET_LINK_LIBRARIES(${PROJECT_NAME} INTERFACE Threads::Threads Boost::system Boost::date_time)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} INTERFACE Threads::Threads Boost::boost)

IF(MQTT_USE_STATIC_OPENSSL)
# Unfortunately, cmake doesn't automatically detect that statically linked openssl
Expand Down
1 change: 1 addition & 0 deletions include/mqtt/broker/topic_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <algorithm>
#include <limits>
#include <cstdint>

#include <mqtt/broker/broker_namespace.hpp>
#include <mqtt/string_view.hpp>
Expand Down
Loading