-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
CMakeList: add option to not install NuGet packaging #1246
Conversation
@michael-grunder Hi Michael! Thanks for triggerring the workflows. I've looked at the failures, but
Let me know if I can do something to help solve those two. |
@michael-grunder Hey Michael, The macos workflow still fails, because the [email protected] formula does not exist in brew; |
Yep,the failure is unrelated to yoru PR. I will fix CI and then get this merged. |
OK CI is fixed on the master branch. If you rebase against that the tests should now pass here as well. One other question however. I understand the impulse ot not change behavior but is there any reasonable reason that Linux systems would have come to rely on this NuGet build artifact? There is always the possibility of reasons like this but I think maybe we can just consider it a bug and not install the file by default? |
The NuGet hiredis.target packaging description file is of no use on systems that are not using NuGet, like Linux systems, and the spurious presence of that file is not "clean". Add a cmake option to allow users to disable installation of that file. As some people may have relied on that file to be installed, continue to install it by default. Signed-off-by: Yann E. MORIN <[email protected]>
Thing is, cmake is not necessarily Linux-only. I haven't touched a Windows machine
I am totally fine with making the changing the default to OFF, if you prefer. Just tell me, Thanks! |
I'm in the exact same boat. Literally clueless about the Windows side of things. I did a quick bit of reading and apparently NuGet does have some cross-platform support via .NET core so I think the safest solution is to use your change as-is. I can circle back to this in the future to flip the default to OFF if it ever comes up again. Happy to merge once the branch is rebased. Thanks! |
3b7956e
to
5953af1
Compare
Merged, thanks! |
The NuGet hiredis.target packaging description file is of no use on systems that are not using NuGet, like Linux systems, and the spurious presence of that file is not "clean".
Add a cmake option to allow users to disable installation of that file. As some people may have relied on that file to be installed, continue to install it by default.