diff --git a/cmake/modules/RootNewMacros.cmake b/cmake/modules/RootNewMacros.cmake index 43a4d1ffaff4aba375505894d1df17acf6672482..8a998a6fd12aca528872c31bf7f0627d654de072 100644 --- a/cmake/modules/RootNewMacros.cmake +++ b/cmake/modules/RootNewMacros.cmake @@ -245,6 +245,7 @@ function(ROOT_GENERATE_DICTIONARY dictionary) string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/inc/" "" rheaderfiles "${headerfiles}") # Replace the non-standard folder layout of Core. if (ARG_STAGE1 AND ARG_MODULE STREQUAL "Core") + # FIXME: Glob these folder. set(core_folders "base|clib|clingutils|cont|dictgen|doc|foundation|lzma|macosx|meta|metacling|multiproc|newdelete|pcre|rint|rootcling_stage1|textinput|thread|unix|winnt|zip") string(REGEX REPLACE "${CMAKE_SOURCE_DIR}/core/(${core_folders})/inc/" "" rheaderfiles "${rheaderfiles}") endif()