add fmt and make system prompt configurable

This commit is contained in:
2024-01-26 15:21:09 +01:00
parent c99115f0d4
commit 06eca937bf
4 changed files with 58 additions and 34 deletions

View File

@ -78,3 +78,13 @@ if (NOT TARGET nlohmann_json::nlohmann_json)
FetchContent_MakeAvailable(json)
endif()
if (NOT TARGET fmt::fmt)
# waiting for c++26 runtime formatters be like
FetchContent_Declare(fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 10.2.1
EXCLUDE_FROM_ALL
)
FetchContent_MakeAvailable(fmt)
endif()