2020-05-08 14:11:19 +00:00
|
|
|
option (USE_INTERNAL_POCO_LIBRARY "Use internal Poco library" ${NOT_UNBUNDLED})
|
|
|
|
|
|
|
|
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)
|
2020-08-09 18:31:00 +00:00
|
|
|
if (NOT ROOT_DIR)
|
|
|
|
message (${RECONFIGURE_MESSAGE_LEVEL} "Can't find system poco")
|
|
|
|
endif()
|
2020-05-08 14:11:19 +00:00
|
|
|
endif ()
|
|
|
|
|
|
|
|
add_subdirectory (Crypto)
|
|
|
|
add_subdirectory (Data)
|
|
|
|
add_subdirectory (Data/ODBC)
|
|
|
|
add_subdirectory (Foundation)
|
|
|
|
add_subdirectory (JSON)
|
|
|
|
add_subdirectory (MongoDB)
|
|
|
|
add_subdirectory (Net)
|
|
|
|
add_subdirectory (Net/SSL)
|
|
|
|
add_subdirectory (Redis)
|
|
|
|
add_subdirectory (Util)
|
|
|
|
add_subdirectory (XML)
|