Skip to content

Commit

Permalink
Enable WITH_CONTROL in cmake.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Dec 2, 2020
1 parent 26ffe13 commit 27a160d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ if (WITH_WEBSOCKETS)
add_definitions("-DWITH_WEBSOCKETS")
endif (WITH_WEBSOCKETS)

option(WITH_CONTROL "Include $CONTROL topic support?" ON)
if (WITH_CONTROL)
add_definitions("-DWITH_CONTROL")
endif (WITH_CONTROL)


if (WIN32 OR CYGWIN)
set (MOSQ_SRCS ${MOSQ_SRCS} service.c)
endif (WIN32 OR CYGWIN)
Expand Down

0 comments on commit 27a160d

Please sign in to comment.