Warning, /acts/Traccc/cmake/FindROOT.cmake is written in an unsupported language. File is not indexed.
0001 # TRACCC library, part of the ACTS project (R&D line)
0002 #
0003 # (c) 2023 CERN for the benefit of the ACTS project
0004 #
0005 # Mozilla Public License Version 2.0
0006
0007 # This is a simple wrapper around the ROOTConfig.cmake file that would come
0008 # with a ROOT installation. It serves two purposes:
0009 # - Provides a nice printout about ROOT having been found, which
0010 # ROOTConfig.cmake doesn't do for some reason;
0011 # - Avoids printing scary-looking warnings from CMake when ROOT is
0012 # not found.
0013
0014 # Look for ROOTConfig.cmake.
0015 find_package(ROOT CONFIG QUIET)
0016
0017 # Print a standard output about ROOT (not) having been found.
0018 include(FindPackageHandleStandardArgs)
0019 find_package_handle_standard_args(
0020 ROOT
0021 FOUND_VAR ROOT_FOUND
0022 REQUIRED_VARS ROOT_INCLUDE_DIRS ROOT_LIBRARY_DIR ROOT_BINDIR
0023 VERSION_VAR ROOT_VERSION
0024 )