mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
1913522233
Squashed: - cmake: move USE_INTERNAL_POCO_LIBRARY option to separate file - point contrib/poco to "add <atomic> to TCPServerDispatcher" Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
11 lines
363 B
CMake
11 lines
363 B
CMake
option (USE_INTERNAL_POCO_LIBRARY "Use internal Poco library" ON)
|
|
|
|
if (USE_INTERNAL_POCO_LIBRARY)
|
|
set (LIBRARY_DIR ${ClickHouse_SOURCE_DIR}/contrib/poco)
|
|
else ()
|
|
find_path (ROOT_DIR NAMES Foundation/include/Poco/Poco.h include/Poco/Poco.h)
|
|
if (NOT ROOT_DIR)
|
|
message (${RECONFIGURE_MESSAGE_LEVEL} "Can't find system poco")
|
|
endif()
|
|
endif ()
|