From 1b3bf64fa27eb6a5a2bd3f3e14f57923ffc14d9d Mon Sep 17 00:00:00 2001
From: Guilherme Amadio <amadio@cern.ch>
Date: Fri, 11 Jan 2019 15:32:44 +0100
Subject: [PATCH] core/zip: do not use file globbing

---
 core/zip/CMakeLists.txt | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/core/zip/CMakeLists.txt b/core/zip/CMakeLists.txt
index b13932683a2..5fa8de9afd7 100644
--- a/core/zip/CMakeLists.txt
+++ b/core/zip/CMakeLists.txt
@@ -1,11 +1,6 @@
 find_package(ZLIB REQUIRED)
 
-ROOT_GLOB_HEADERS(headers
-  inc/Compression.h
-  inc/RZip.h
-)
-
-ROOT_GLOB_SOURCES(sources
+ROOT_OBJECT_LIBRARY(Zip
   src/Bits.c
   src/ZDeflate.c
   src/ZTrees.c
@@ -14,7 +9,6 @@ ROOT_GLOB_SOURCES(sources
   src/RZip.cxx
 )
 
-ROOT_OBJECT_LIBRARY(Zip ${sources})
 target_include_directories(Zip PRIVATE ${ZLIB_INCLUDE_DIR})
 
 ROOT_INSTALL_HEADERS()
-- 
GitLab