Skip to content

Fix configuration without Asio headers when DISABLE_ASIO is enabled - #669

Merged
greensky00 merged 1 commit into
eBay:masterfrom
Shubham-Padkonde:fix/disable-asio-header-check
Oct 7, 2026
Merged

greensky00 merged 1 commit into
eBay:masterfrom
Shubham-Padkonde:fix/disable-asio-header-check

Conversation

@Shubham-Padkonde

Copy link
Copy Markdown
Contributor

With -DDISABLE_ASIO=ON, CMake skips finding Asio but still unconditionally fails when ASIO_INCLUDE_DIR is absent. A clean checkout therefore cannot build without Asio installed.

Guard the header check and include-directory setup with the same option. Add a separate CI job that configures, builds, and tests without running prepare.sh or installing Asio. The Asio-enabled configuration keeps its existing required-header check.

Validation: reproduced the configuration failure on the base revision; the fixed configuration builds successfully and all 10 available CTest tests pass.

Prepared with Codex assistance.

@greensky00 greensky00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@greensky00
greensky00 merged commit 6f79e27 into eBay:master Oct 7, 2026
2 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.

2 participants