mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
cmake: fix POCO_ENABLE_MONGODB
This commit is contained in:
parent
80c2fa2ba7
commit
1d89eafa12
@ -20,7 +20,7 @@ else ()
|
||||
"${ClickHouse_SOURCE_DIR}/contrib/libpoco/XML/include/"
|
||||
)
|
||||
|
||||
if (POCO_ENABLE_MONGODB)
|
||||
if (NOT DEFINED POCO_ENABLE_MONGODB OR POCO_ENABLE_MONGODB)
|
||||
set (Poco_MongoDB_FOUND 1)
|
||||
set (Poco_MongoDB_LIBRARY PocoMongoDB)
|
||||
list (APPEND Poco_INCLUDE_DIRS "${ClickHouse_SOURCE_DIR}/contrib/libpoco/MongoDB/include/")
|
||||
|
Loading…
Reference in New Issue
Block a user