experiment with BUILD_SHARED_LIBS

This commit is contained in:
Ivan Blinkov 2020-06-02 23:50:18 +03:00
parent 921b7c7480
commit 2f74c58b05

View File

@ -12,8 +12,11 @@ if (NOT OS_FREEBSD AND NOT SPLIT_SHARED_LIBRARIES AND NOT (OS_DARWIN AND COMPILE
set (SENTRY_BACKEND "none")
set (CURL_LIBRARY ${ClickHouse_SOURCE_DIR}/contrib/curl/lib)
set (CURL_INCLUDE_DIR ${ClickHouse_SOURCE_DIR}/contrib/curl/include)
if (NOT_UNBUNDLED)
set (BUILD_SHARED_LIBS OFF)
endif()
message (STATUS "Using sentry=${USE_SENTRY}: ${SENTRY_LIBRARY}")
include_directories("${SENTRY_INCLUDE_DIR}")
endif ()
endif ()