mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
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 ()
|