Skip to content

feat(cmake): support find_package(libhv) - #870

Merged
ithewei merged 1 commit into
masterfrom
cmake-find-package-libhv
Aug 17, 2026
Merged

feat(cmake): support find_package(libhv)#870
ithewei merged 1 commit into
masterfrom
cmake-find-package-libhv

Conversation

@ithewei

@ithewei ithewei commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • generate versioned libhv CMake package files from a config template
  • export namespaced targets libhv::hv and libhv::hv_static while keeping compatibility variables/targets
  • add a small external find_package smoke-test fixture and document downstream usage

Verification

  • cmake -S . -B /private/tmp/libhv-find-package-delete-check/build -DCMAKE_INSTALL_PREFIX=/private/tmp/libhv-find-package-delete-check/install -DBUILD_EXAMPLES=OFF -DBUILD_UNITTEST=OFF -DBUILD_SHARED=ON -DBUILD_STATIC=ON
  • cmake --build /private/tmp/libhv-find-package-delete-check/build --target install --config Release
  • cmake -S tests/cmake/find_package -B /private/tmp/libhv-find-package-delete-check/consumer-build -DCMAKE_PREFIX_PATH=/private/tmp/libhv-find-package-delete-check/install
  • cmake --build /private/tmp/libhv-find-package-delete-check/consumer-build --config Release

Copilot AI lite review requested due to automatic review settings August 17, 2026 08:40

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ithewei
ithewei merged commit e2c9402 into master Aug 17, 2026
12 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