Fix error of unitialized variable FMT_HEADERS

This happens when using e.g. pedantic mode in cmake-init.
This commit is contained in:
Rafał Lalik 2025-01-24 15:08:24 +01:00 committed by Victor Zverovich
parent cb6fdf2191
commit 01a5b56f0d

View File

@ -293,6 +293,7 @@ function(add_headers VAR)
endfunction()
# Define the fmt library, its includes and the needed defines.
set(FMT_HEADERS)
add_headers(FMT_HEADERS args.h base.h chrono.h color.h compile.h core.h format.h
format-inl.h os.h ostream.h printf.h ranges.h std.h
xchar.h)