mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Make poco library path variable scope less global
This commit is contained in:
parent
7c76bd2def
commit
763844beac
@ -1,8 +1,6 @@
|
|||||||
option (USE_INTERNAL_POCO_LIBRARY "Use internal Poco library" ON)
|
option (USE_INTERNAL_POCO_LIBRARY "Use internal Poco library" ON)
|
||||||
|
|
||||||
if (USE_INTERNAL_POCO_LIBRARY)
|
if (NOT 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)
|
find_path (ROOT_DIR NAMES Foundation/include/Poco/Poco.h include/Poco/Poco.h)
|
||||||
if (NOT ROOT_DIR)
|
if (NOT ROOT_DIR)
|
||||||
message (${RECONFIGURE_MESSAGE_LEVEL} "Can't find system poco")
|
message (${RECONFIGURE_MESSAGE_LEVEL} "Can't find system poco")
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
set (LIBRARY_DIR ${ClickHouse_SOURCE_DIR}/contrib/poco)
|
||||||
|
|
||||||
add_subdirectory (Crypto)
|
add_subdirectory (Crypto)
|
||||||
add_subdirectory (Data)
|
add_subdirectory (Data)
|
||||||
add_subdirectory (Data/ODBC)
|
add_subdirectory (Data/ODBC)
|
||||||
|
Loading…
Reference in New Issue
Block a user