-
Notifications
You must be signed in to change notification settings - Fork 149
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
Shipped XRootD CMake configuration doesn't work #1194
Comments
Hi Brian, I replaced the Against which version were you testing? Regarding the Cheers, |
@simonmichal - 4fba4a1 has a misspelling in the first hunk. |
I am closing this as it appears to be fixed. |
Tried using the shipped CMake config today for a new module I was working on -- effectively, it doesn't appear to work.
First, when one does:
On RHEL it'll search in
/usr/share/xrootd/cmake/
for files namedxrootdConfig.cmake
orxrootd-config.cmake
(case-sensitive). The file is currently namedFindXRootD.cmake
, which will never match. If you want:then we need to move the file to
/usr/share/XRootD/cmake/XRootD-config.cmake
.We also need to have the
_FOUND
variables to always be set and match case (i.e.,XRootD_FOUND
should always be set to true or false).Finally, there's a typo breaking the
XROOTD_PLUGIN_VERSION
mechanism -- there's an extra comma,
after the variable name. This appears to work:The text was updated successfully, but these errors were encountered: