ClickHouse/cmake/find/poco.cmake
2020-12-23 23:55:39 +03:00

9 lines
299 B
CMake

option (USE_INTERNAL_POCO_LIBRARY "Use internal Poco library" ON)
if (NOT USE_INTERNAL_POCO_LIBRARY)
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 ()