Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error of unitialized variable FMT_HEADERS #4327

Closed
wants to merge 1 commit into from

Conversation

rlalik
Copy link
Contributor

@rlalik rlalik commented Jan 24, 2025

This happen when using e.g. pedantic mode in cmake-init.

-- Build type: Coverage
CMake Error (dev) at build/ci-coverage/_deps/fmt-src/CMakeLists.txt:290 (set):
uninitialized variable 'FMT_HEADERS'
Call Stack (most recent call first):
build/ci-coverage/_deps/fmt-src/CMakeLists.txt:298 (add_headers)
This error is for project developers. Use -Wno-error=dev to suppress it.

This happens when using e.g. pedantic mode in cmake-init.
@vitaut
Copy link
Contributor

vitaut commented Jan 25, 2025

Merged without a comment since the purpose of set is obvious in 01a5b56, thanks.

@vitaut vitaut closed this Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants