diff --git a/DefineOptions.cmake b/DefineOptions.cmake index f06a5aea45..dcd67e4f1b 100644 --- a/DefineOptions.cmake +++ b/DefineOptions.cmake @@ -1,3 +1,4 @@ option(WITH_LOG4C "Build csync without log4c" ON) option(UNIT_TESTING "Build with unit tests" OFF) option(MEM_NULL_TESTS "Enable NULL memory testing" OFF) +option(LOG_TO_CALLBACK "Enable extended logging through a callback" OFF) diff --git a/config.h.cmake b/config.h.cmake index e4fd944abf..b2da0acc68 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -16,3 +16,4 @@ #cmakedefine HAVE_LSTAT 1 #cmakedefine HAVE_FNMATCH 1 +#cmakedefine LOG_TO_CALLBACK