Skip to content

Commit

Permalink
Fix error of unitialized variable FMT_HEADERS
Browse files Browse the repository at this point in the history
This happens when using e.g. pedantic mode in cmake-init.
  • Loading branch information
rlalik authored and vitaut committed Jan 25, 2025
1 parent cb6fdf2 commit 01a5b56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 01a5b56

Please sign in to comment.