Skip to content

Commit 01a5b56

Browse files
rlalikvitaut
authored andcommitted
Fix error of unitialized variable FMT_HEADERS
This happens when using e.g. pedantic mode in cmake-init.
1 parent cb6fdf2 commit 01a5b56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ function(add_headers VAR)
293293
endfunction()
294294

295295
# Define the fmt library, its includes and the needed defines.
296+
set(FMT_HEADERS)
296297
add_headers(FMT_HEADERS args.h base.h chrono.h color.h compile.h core.h format.h
297298
format-inl.h os.h ostream.h printf.h ranges.h std.h
298299
xchar.h)

0 commit comments

Comments
 (0)