Skip to content

Commit ac2d324

Browse files
authored
Merge pull request #990 from redboltz/fix_989
Fixed #989.
2 parents 070c25a + dc90578 commit ac2d324

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ FIND_PACKAGE (Threads REQUIRED)
123123
SET (MQTT_BOOST_COMPONENTS)
124124
IF (MQTT_USE_LOG)
125125
MESSAGE (STATUS "Logging enabled")
126-
SET (MQTT_BOOST_COMPONENTS system date_time log filesystem thread program_options)
126+
SET (MQTT_BOOST_COMPONENTS log filesystem thread program_options)
127127
ELSE ()
128128
MESSAGE (STATUS "Logging disabled")
129-
SET (MQTT_BOOST_COMPONENTS system date_time program_options)
129+
SET (MQTT_BOOST_COMPONENTS program_options)
130130
ENDIF ()
131131
FIND_PACKAGE (Boost 1.74.0 REQUIRED COMPONENTS ${MQTT_BOOST_COMPONENTS})
132132

include/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SET(ROOT_MQTT_TARGET include/mqtt)
66

77
ADD_LIBRARY(${PROJECT_NAME} INTERFACE)
88

9-
TARGET_LINK_LIBRARIES(${PROJECT_NAME} INTERFACE Threads::Threads Boost::system Boost::date_time)
9+
TARGET_LINK_LIBRARIES(${PROJECT_NAME} INTERFACE Threads::Threads Boost::boost)
1010

1111
IF(MQTT_USE_STATIC_OPENSSL)
1212
# Unfortunately, cmake doesn't automatically detect that statically linked openssl

include/mqtt/broker/topic_filter.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include <algorithm>
1111
#include <limits>
12+
#include <cstdint>
1213

1314
#include <mqtt/broker/broker_namespace.hpp>
1415
#include <mqtt/string_view.hpp>

0 commit comments

Comments
 (0)