From 278ba521d9c863a6b1346dca3656c3c8a91d8838 Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 11 Apr 2018 23:13:02 +0200 Subject: [PATCH] Fix warning for SYNCTHING_CONNECTION_LOG_SYNCTHING_EVENTS --- connector/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connector/CMakeLists.txt b/connector/CMakeLists.txt index 50da621..21fc369 100644 --- a/connector/CMakeLists.txt +++ b/connector/CMakeLists.txt @@ -103,13 +103,13 @@ if(SYNCTHING_CONNECTION_MOCKED) endif() # configure whether events should be logged -option(SYNCTHING_CONNECTION_LOG_SYNCTHING_EVENTS "enables logging event data" OFF) +option(SYNCTHING_CONNECTION_LOG_SYNCTHING_EVENTS "enables logging event data to stdout (enable only for debugging!)" OFF) if(SYNCTHING_CONNECTION_LOG_SYNCTHING_EVENTS) set_source_files_properties( syncthingconnection.cpp PROPERTIES COMPILE_DEFINITIONS LIB_SYNCTHING_CONNECTOR_LOG_SYNCTHING_EVENTS ) - message(WARNING "SyncthingConnection class will be mocked") + message(WARNING "SyncthingConnection class will log event data to stdout") endif() # include modules to apply configuration