From dc06b55f693fbdedce3e078546557083c024c5b2 Mon Sep 17 00:00:00 2001 From: lizhou1111 <142761624+lizhou1111@users.noreply.github.com> Date: Fri, 29 Dec 2023 11:32:16 +0800 Subject: [PATCH] enable base64 function (#452) --- docker/packager/packager | 1 + src/configure_config.cmake | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docker/packager/packager b/docker/packager/packager index 0dc9fbcc17e..67bc8ed08e8 100755 --- a/docker/packager/packager +++ b/docker/packager/packager @@ -206,6 +206,7 @@ def parse_env_variables(build_type, compiler, sanitizer, package_type, image_typ cmake_flags.append('-DENABLE_ROCKSDB=ON') cmake_flags.append('-DENABLE_SSL=ON') cmake_flags.append('-DENABLE_BZIP2=ON') + cmake_flags.append('-DENABLE_BASE64=ON') cmake_flags.append('-DENABLE_PROTOBUF=ON') cmake_flags.append('-DENABLE_URING=ON') cmake_flags.append('-DENABLE_UTILS=ON') diff --git a/src/configure_config.cmake b/src/configure_config.cmake index 8c635b43542..05ce5c78689 100644 --- a/src/configure_config.cmake +++ b/src/configure_config.cmake @@ -241,3 +241,9 @@ endif() if (ENABLE_ARG_MIN_MAX_FUNCS) set(USE_ARG_MIN_MAX_FUNCS 1) endif() + +option(ENABLE_BASE64_FUNCS "Enable base64 functions" ${ENABLE_ALL_FUNCS}) +if (ENABLE_BASE64_FUNCS) + set(USE_BASE64 1) +endif() +