Include RootMacros.cmake in ROOTConfig.cmake
This makes ROOT's CMake macros like ROOT_GENERATE_DICTIONARY() readily available after a successful call to find_package(ROOT), without having to call include(${ROOT_USE_FILE}), which will append ROOT's compilation flags to flags of the including project, potentially overriding them (i.e. -O3 with -O2, etc).
Please register or sign in to comment