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

Allow to disable libuv even when it is found #995

Merged

Conversation

deweerdt
Copy link
Member

It's not currently possible to tell cmake to ignore libuv if it was
found on the system. This add a 'DISABLE_LIBUV' variable (defaults to
OFF), if set, it won't compile any libuv related dependency.

We also move the compilation of unit tests that depend on libuv under
LIBUV_FOUND

Finally, this patch replaces INFO with STATUS as the first argument
of cmake's MESSAGE function. See:
https://cmake.org/cmake/help/v3.6/command/message.html

It's not currently possible to tell cmake to ignore libuv if it was
found on the system. This add a 'DISABLE_LIBUV' variable (defaults to
OFF), if set, it won't compile any libuv related dependency.

We also move the compilation of unit tests that depend on libuv under
`LIBUV_FOUND`

Finally, this patch replaces `INFO` with `STATUS` as the first argument
of cmake's `MESSAGE` function. See:
https://cmake.org/cmake/help/v3.6/command/message.html
@kazuho
Copy link
Member

kazuho commented Jul 19, 2016

Thank you for the PR! LGTM.

@kazuho kazuho merged commit a036fe8 into h2o:master Jul 19, 2016
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