blob: d50ea40e1c492dcd74d695ffa65bd4daf5611b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 )
|