mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
479b45d772
This combination now works: `-DUSE_STATIC_LIBRARIES=0 -DSPLIT_SHARED_LIBRARIES=1`. Without `SPLIT_SHARED_LIBRARIES` it is still failing.
18 lines
475 B
CMake
18 lines
475 B
CMake
add_library (daemon
|
|
BaseDaemon.cpp
|
|
GraphiteWriter.cpp
|
|
SentryWriter.cpp
|
|
)
|
|
|
|
target_include_directories (daemon PUBLIC ..)
|
|
|
|
if (OS_DARWIN AND NOT MAKE_STATIC_LIBRARIES)
|
|
target_link_libraries (daemon PUBLIC -Wl,-undefined,dynamic_lookup)
|
|
endif()
|
|
|
|
target_link_libraries (daemon PUBLIC loggers PRIVATE clickhouse_common_io clickhouse_common_config common ${EXECINFO_LIBRARIES})
|
|
|
|
if (USE_SENTRY)
|
|
target_link_libraries (daemon PRIVATE ${SENTRY_LIBRARY})
|
|
endif ()
|