mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
de5258128e
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
26 lines
856 B
CMake
26 lines
856 B
CMake
set(FMT_SOURCE_DIR "${ClickHouse_SOURCE_DIR}/contrib/fmtlib")
|
|
|
|
set (SRCS
|
|
# NOTE: do not build module for now:
|
|
# ../fmtlib/src/fmt.cc
|
|
${FMT_SOURCE_DIR}/src/format.cc
|
|
${FMT_SOURCE_DIR}/src/os.cc
|
|
|
|
${FMT_SOURCE_DIR}/include/fmt/args.h
|
|
${FMT_SOURCE_DIR}/include/fmt/chrono.h
|
|
${FMT_SOURCE_DIR}/include/fmt/color.h
|
|
${FMT_SOURCE_DIR}/include/fmt/compile.h
|
|
${FMT_SOURCE_DIR}/include/fmt/core.h
|
|
${FMT_SOURCE_DIR}/include/fmt/format.h
|
|
${FMT_SOURCE_DIR}/include/fmt/format-inl.h
|
|
${FMT_SOURCE_DIR}/include/fmt/os.h
|
|
${FMT_SOURCE_DIR}/include/fmt/ostream.h
|
|
${FMT_SOURCE_DIR}/include/fmt/printf.h
|
|
${FMT_SOURCE_DIR}/include/fmt/ranges.h
|
|
${FMT_SOURCE_DIR}/include/fmt/xchar.h
|
|
)
|
|
|
|
add_library(_fmt ${SRCS})
|
|
target_include_directories(_fmt SYSTEM PUBLIC ../fmtlib/include)
|
|
add_library(ch_contrib::fmt ALIAS _fmt)
|