Skip to content

Conversation

@misery
Copy link

@misery misery commented Dec 19, 2025

This allows CMake to use find_package with a compatible version of llhttp.

find_package(llhttp 9.0.0 REQUIRED)

-- The following REQUIRED packages have been found:

 * llhttp (required version >= 9.0.0)

@misery
Copy link
Author

misery commented Dec 19, 2025

You should check COMPATIBILITY AnyNewerVersion in https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html#command:write_basic_package_version_file.
I don't know what is your compatibility policy here.

This allows CMake to use find_package with a compatible version of
llhttp.

find_package(llhttp 9.0.0 REQUIRED)

-- The following REQUIRED packages have been found:

 * llhttp (required version >= 9.0.0)
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.

1 participant