The entire build process succeed. But clickhouse-server binary startup with segmentfault.
It seems that OwnSplitChannel.h is ambiguous in same binary because of different `WITH_TEXT_LOG` compile flag.

**Operating system**
macOS 12.5.1

**Cmake version**
cmake version 3.22.2

**Ninja version**
1.10.2

**Compiler name and version**
llvm13

**Full cmake and/or ninja output**

}
#endif
namespace Poco::Util
{
    class AbstractConfiguration;
}
class Loggers
{
public:
    void buildLoggers(Poco::Util::AbstractConfiguration & config, Poco::Logger & logger, const std::string & cmd_name = "");
    void updateLevels(Poco::Util::AbstractConfiguration & config, Poco::Logger & logger);
    
    void closeLogs(Poco::Logger & logger);
#ifdef WITH_TEXT_LOG
    void setTextLog(std::shared_ptr<DB::TextLog> log, int max_priority);
#endif
private:
    Poco::AutoPtr<Poco::FileChannel> log_file;
    Poco::AutoPtr<Poco::FileChannel> error_log_file;
    Poco::AutoPtr<Poco::Channel> syslog_channel;
    
    std::string config_logger;
#ifdef WITH_TEXT_LOG
    std::weak_ptr<DB::TextLog> text_log;
    int text_log_max_priority = -1;
#endif
    Poco::AutoPtr<DB::OwnSplitChannel> split;
};