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:

find_package( xrootd REQUIRED )

On RHEL it'll search in /usr/share/xrootd/cmake/ for files named xrootdConfig.cmake or xrootd-config.cmake (case-sensitive). The file is currently named FindXRootD.cmake, which will never match. If you want:

find_package( XRootD REQUIRED )

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:

SET( XROOTD_PLUGIN_VERSION 4 )


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1194", "url": "https://github.com/xrootd/xrootd/issues/1194", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1