-
Notifications
You must be signed in to change notification settings - Fork 14.1k
[cmake] Allow multiple LibEdit_LIBRARIES #93896
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
[cmake] Allow multiple LibEdit_LIBRARIES #93896
Conversation
Hi, I fail to understand how with the current code
It seems we totally loose the list part, which is stored in |
|
In my case with a statically linked libedit (& ncurses/libtinfo) pkg-config (in static mode, with
However if I understand correctly your usage (forcing manually |
Would it be possible to set |
If built statically,
libedit
may have a private static library dependency on a provider of theterminfo
API (e.g.,ncurses
). This means that multiple libraries would need to be provided as the value forLibEdit_LIBRARIES
, but the current implementation ofFindLibEdit
precludes this. This PR allows a list to be passed toLibEdit_LIBRARIES
.