mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-03-23 16:33:35 +08:00
Fix build with USE_LIBWRAP
Signed-off-by: Jan Palus <jpalus@fastmail.com>
This commit is contained in:
@@ -126,7 +126,7 @@ endif()
|
||||
option(USE_LIBWRAP "Include tcp-wrappers support?" OFF)
|
||||
|
||||
if(USE_LIBWRAP)
|
||||
target_sources(mosquitto wrap)
|
||||
target_link_libraries(mosquitto PRIVATE wrap)
|
||||
target_compile_definitions(mosquitto PRIVATE "WITH_WRAP")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user