From f81ba3e48cbcafab2ceec8a1b8b2a8937c185b30 Mon Sep 17 00:00:00 2001 From: Pere Mato Date: Wed, 26 Apr 2017 18:30:01 +0200 Subject: [PATCH] Be more specific on what is a header file to be moved and installed (#528) --- cmake/modules/RootNewMacros.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/modules/RootNewMacros.cmake b/cmake/modules/RootNewMacros.cmake index 41f31fd02de90..4111fa3ee1c06 100644 --- a/cmake/modules/RootNewMacros.cmake +++ b/cmake/modules/RootNewMacros.cmake @@ -777,7 +777,8 @@ function(ROOT_INSTALL_HEADERS) ROOT_GLOB_FILES(include_files RECURSE RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/${d} - FILTER ${filter} ${d}/*) + FILTER ${filter} + ${d}/*.h ${d}/*.hxx ${d}/*.icc ) foreach (include_file ${include_files}) set (src ${CMAKE_CURRENT_SOURCE_DIR}/${d}/${include_file}) set (dst ${CMAKE_BINARY_DIR}/include/${include_file})