Commit 45de65bd authored by Simon Spannagel's avatar Simon Spannagel
Browse files

CMake: silence warning of ROOT 6.20 about renamed macros file.

parent 39bcf883
Pipeline #1479227 passed with stages
in 23 minutes and 11 seconds
......@@ -5,8 +5,8 @@ INCLUDE_DIRECTORIES(SYSTEM ${GBL_INCLUDE_DIRS})
# Find the RootNewMacros.cmake file and include it
GET_FILENAME_COMPONENT(ROOT_CMAKE_DIR "${ROOT_USE_FILE}" DIRECTORY)
FIND_FILE(ROOT_MACROS_FILE
NAMES RootNewMacros.cmake
HINTS ${ROOT_CMAKE_DIR}/modules/ $ENV{ROOTSYS}/../cmake/modules $ENV{ROOTSYS}/cmake/modules)
NAMES RootNewMacros.cmake RootMacros.cmake
HINTS ${ROOT_CMAKE_DIR} ${ROOT_CMAKE_DIR}/modules/ $ENV{ROOTSYS}/../cmake/modules $ENV{ROOTSYS}/cmake/modules)
IF(NOT ROOT_MACROS_FILE)
MESSAGE(WARNING "Cannot find ROOT macros, including generic file as fallback.")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment