mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Enable jwt-cpp only for ClickHouse Cloud
This commit is contained in:
parent
d35e230ef6
commit
4563e79688
@ -1,4 +1,9 @@
|
||||
option (ENABLE_JWT_CPP "Enable jwt-cpp library" ${ENABLE_LIBRARIES})
|
||||
set(ENABLE_JWT_CPP_DEFAULT OFF)
|
||||
if(ENABLE_LIBRARIES AND CLICKHOUSE_CLOUD)
|
||||
set(ENABLE_JWT_CPP_DEFAULT ON)
|
||||
endif()
|
||||
|
||||
option(ENABLE_JWT_CPP "Enable jwt-cpp library" ${ENABLE_JWT_CPP_DEFAULT})
|
||||
|
||||
if (NOT ENABLE_JWT_CPP)
|
||||
message(STATUS "Not using jwt-cpp")
|
||||
|
Loading…
Reference in New Issue
Block a user