diff options
Diffstat (limited to 'net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch')
-rw-r--r-- | net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch b/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch new file mode 100644 index 000000000000..d50ea40e1c49 --- /dev/null +++ b/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch @@ -0,0 +1,24 @@ +--- a/cmake/XRootDFindLibs.cmake ++++ b/cmake/XRootDFindLibs.cmake +@@ -25,15 +25,19 @@ + + find_package( TinyXml ) + +-find_package( LibXml2 ) ++if( ENABLE_LIBXML2 ) ++find_package( LibXml2 REQUIRED ) + if( LIBXML2_FOUND ) + add_definitions( -DHAVE_XML2 ) + endif() ++endif() + +-find_package( Systemd ) ++if( ENABLE_SYSTEMD ) ++find_package( Systemd REQUIRED ) + if( SYSTEMD_FOUND ) + add_definitions( -DHAVE_SYSTEMD ) + endif() ++endif() + + find_package( CURL ) + |