Skip to content

Fix for cmake check_include_file - #32

Merged
arahlin merged 2 commits into
ketiltrout:masterfrom
sbenton:cmake_check_include_file
Jul 29, 2026
Merged

Fix for cmake check_include_file#32
arahlin merged 2 commits into
ketiltrout:masterfrom
sbenton:cmake_check_include_file

Conversation

@sbenton

@sbenton sbenton commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

When testing cmake, I found this issue where if bzip2 dev files aren't installed, then check_include_file will fail in some later uses, since its include is conditional.

This fix solved the problem for me. But I don't know much about cmake so am open to suggestions.

Steven Benton added 2 commits July 29, 2026 15:24
It is used outside, and other checks fail then this condition is false
@gsmecher

Copy link
Copy Markdown
Contributor

Yes, your PR looks correct (thanks!) - I suspect bzip2 is installed on all of the build environments I've been using, so I've never bumped into this failure mode. Thanks for the PR.

@arahlin
arahlin merged commit 4c4c805 into ketiltrout:master Jul 29, 2026
10 checks passed
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.

3 participants