I added conditional directives checking the definition of LOGFLAG flag in root CMakeLists.txt config to activate the logging libraries, methods and commands. There were also troubles connected with header and tests files, where i needed to add some supportive directives.