Document _LIBRARY_DIRS lack of support explicitly.#244
Conversation
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
| # If _INTERFACES is not empty it will be used exclusively, otherwise the other | ||
| # variables are being used. | ||
| # Packages exporting libraries in non-standard directories cannot rely on a | ||
| # _LIBRARY_DIRS variable -- an absolute path to each library must be provided |
There was a problem hiding this comment.
A CMake variable ending in _LIBRARY_DIRS is pretty uncommon I think. Did you maybe mean _LIBRARY_DIR instead?
How about checking if a _LIBRARY_DIR variable set and then join it with the library names (assuming these absolute paths exist)?
There was a problem hiding this comment.
Hmm, that's the variable that the original issue refers to. It's also the one that's populated by e.g. pkg-config support macros. I cannot seem to find a use case online for a _LIBRARY_DIR variable, which one did you have in mind?
There was a problem hiding this comment.
No specific one. It is just the one I have seen in the past.
How about checking if a _LIBRARY_DIR variable set and then join it with the library names (assuming these absolute paths exist)?
This would still be good to do. The logic would just need to consider all entries in _LIBRARY_DIRS.
There was a problem hiding this comment.
To search for the library you mean, right?
|
Closing this PR in favor of #245. |
Precisely what the title says. Connected to #224.