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

Discover libssh2 without pkg-config #6053

Merged
merged 2 commits into from
Sep 14, 2021
Merged

Conversation

stac47
Copy link
Contributor

@stac47 stac47 commented Sep 14, 2021

Hello,

I need to build the library without relying upon pkg-config. What I propose is to fallback on a traditional library discovery of libssh2 when the pkg-config is not available.

I saw that many other dependencies are discovered with simple FIND_PACKAGE so I propose the same for libssh2.
Regards,

src/CMakeLists.txt Outdated Show resolved Hide resolved
Co-authored-by: Edward Thomson <ethomson@github.com>
@ethomson
Copy link
Member

Thanks, this seems reasonable to me!

@ethomson ethomson merged commit 7d195b9 into libgit2:main Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants