diff --git a/contrib/google-cloud-cpp-cmake/CMakeLists.txt b/contrib/google-cloud-cpp-cmake/CMakeLists.txt index 7996635ecc9..31413d29c49 100644 --- a/contrib/google-cloud-cpp-cmake/CMakeLists.txt +++ b/contrib/google-cloud-cpp-cmake/CMakeLists.txt @@ -1,6 +1,6 @@ set(ENABLE_GOOGLE_CLOUD_CPP_DEFAULT OFF) -if(ENABLE_LIBRARIES AND OS_LINUX) +if(ENABLE_LIBRARIES AND CLICKHOUSE_CLOUD AND OS_LINUX) set(ENABLE_GOOGLE_CLOUD_CPP_DEFAULT ON) endif()