mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
0700a705bc
- add support of unbundled curl - add CURL::libcurl libraries - avoid explicit linkage of daemon with curl (added with sentry) - set CACHE variables for non-direct users: - mariadb-connector-c - aws-s3-cmake - sentry-native Cc: @alexey-milovidov Cc: @alesapin (requires docker image update) Cc: @abyss7 Refs: #11300 Refs: #8011 Refs: #8905 v2: replace cmake/find/curl.cmake with proper contrib/curl-cmake (as pointed by @abyss7, cmake/find/*.cmake is deprecated)
13 lines
348 B
CMake
13 lines
348 B
CMake
add_library (daemon
|
|
BaseDaemon.cpp
|
|
GraphiteWriter.cpp
|
|
SentryWriter.cpp
|
|
)
|
|
|
|
target_include_directories (daemon PUBLIC ..)
|
|
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 ()
|