Fix clang format and cmake files for fmt 8.1.1

This commit is contained in:
Jingyu Zhou 2022-03-04 14:03:56 -08:00
parent 1a5bf25b5c
commit 89648769d0
2 changed files with 2 additions and 9 deletions

View File

@ -1,8 +1 @@
# Run manually to reformat a file:
# clang-format -i --style=file <file>
Language: Cpp
BasedOnStyle: Google
IndentPPDirectives: AfterHash
IndentCaseLabels: false
AlwaysBreakTemplateDeclarations: false
DerivePointerAlignment: false
DisableFormat: true

View File

@ -241,7 +241,7 @@ else()
set(FMT_SOURCES src/format.cc)
endif ()
add_library(fmt ${FMT_SOURCES} ${FMT_HEADERS} README.rst ChangeLog.rst)
add_library(fmt ${FMT_SOURCES} ${FMT_HEADERS})
add_library(fmt::fmt ALIAS fmt)
if (HAVE_STRTOD_L)