You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-full-overlay/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.p...

25 lines
454 B

--- 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 )