Skip to content

Commit

Permalink
Merge pull request #990 from redboltz/fix_989
Browse files Browse the repository at this point in the history
Fixed #989.
  • Loading branch information
redboltz authored Nov 14, 2023
2 parents 070c25a + dc90578 commit ac2d324
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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

0 comments on commit ac2d324

Please sign in to comment.