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

Add UV_INSTALL guard #4387

Open
wants to merge 2 commits into
base: v1.x
Choose a base branch
from
Open

Add UV_INSTALL guard #4387

wants to merge 2 commits into from

Conversation

ZeunO8
Copy link

@ZeunO8 ZeunO8 commented Apr 11, 2024

This PR adds a UV_INSTALL guard. I believe I have covered all cases of INSTALLs. It defaults to ON and as such the default behavior hasn't changed

I required this as I'm currently packaging my libraries for production and needed to set up each dependency install manually as I have a custom include / lib prefix

Cheers for a great library!! I have learnt much from it

Copy link
Member

@saghul saghul left a comment

Choose a reason for hiding this comment

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

Mostly LGTM, but I do have a question.

install(EXPORT libuvConfig
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libuv
NAMESPACE libuv::)

if(LIBUV_BUILD_SHARED)
Copy link
Member

Choose a reason for hiding this comment

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

I think this belongs inside the UV_INSTALL block, no?

Copy link
Author

Choose a reason for hiding this comment

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

Yes that belongs inside a UV_INSTALL block also

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.

None yet

2 participants