From a9a4d266843cce737e88da7e848c8173e793421b Mon Sep 17 00:00:00 2001
From: Pere Mato <pere.mato@cern.ch>
Date: Fri, 14 Oct 2016 14:31:34 +0200
Subject: [PATCH] Fix for ROOT-8242 - ROOT6: alien support fails silently when
 xrootd not selected (cmake)

---
 net/CMakeLists.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net/CMakeLists.txt b/net/CMakeLists.txt
index 73defc19a1a..01a3ff6a2ee 100644
--- a/net/CMakeLists.txt
+++ b/net/CMakeLists.txt
@@ -17,9 +17,10 @@ endif()
 
 if(xrootd)
   add_subdirectory(netx)
-  if(alien)
-    add_subdirectory(alien)
-  endif()
+endif()
+
+if(alien)
+  add_subdirectory(alien)
 endif()
 
 if(monalisa)
-- 
GitLab