CodeCommitsIssuesPull requestsActionsInsightsSecurity
d591c7187fe9551d44de76c461acacdf158c2a72

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

cmake/find_base64.cmake

18lines · modepreview

if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/base64/lib/lib.c")
    set (MISSING_INTERNAL_BASE64_LIBRARY 1)
    message (WARNING "submodule contrib/base64 is missing. to fix try run: \n git submodule update --init --recursive")
endif ()

if (NOT MISSING_INTERNAL_BASE64_LIBRARY)
    option (ENABLE_BASE64 "Enable base64" ON)
endif ()

if (ENABLE_BASE64)
    if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/base64")
        message (WARNING "submodule contrib/base64 is missing. to fix try run: \n git submodule update --init --recursive")
    else()
        set (BASE64_INCLUDE_DIR ${ClickHouse_SOURCE_DIR}/contrib/base64/include)
        set (BASE64_LIBRARY base64)
        set (USE_BASE64 1)
    endif()
endif ()