Try to fix ODR for Loggers class

This commit is contained in:
Dmitry Novik 2022-09-06 19:57:09 +02:00
parent e12858dca5
commit b92c383d4b

View File

@ -3,6 +3,7 @@ add_library (daemon
GraphiteWriter.cpp
SentryWriter.cpp
)
target_compile_definitions(daemon PUBLIC WITH_TEXT_LOG=1)
if (OS_DARWIN AND NOT USE_STATIC_LIBRARIES)
target_link_libraries (daemon PUBLIC -Wl,-undefined,dynamic_lookup)