Feature #13394

ROOT build with CMake?

Added by Ben Morgan over 4 years ago. Updated about 4 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
16.00 h
Spent time:


The current UPS product for ROOT is built with the ./configure script which means the CMake support files for find_package (ROOTConfig.cmake etc) are not installed. There is a script in the root-ssi-build directory, so is there a timescale for this to be rolled out?

The use case is for CMake-based projects to be able to use


with better support for components and imported targets than provided by the supplied FindROOT.cmake module. However, if the cmake build of ROOT is a way off, a good workaround in the meantime would be for the UPS table file for the ROOT product to append the path containing the FindROOT module ($ROOTSYS/etc/cmake) to the CMAKE_MODULE_PATH environment variable. It would then be picked up automatically by client projects but could still be overridden if required by a local version of FindROOT.


#1 Updated by Kyle Knoepfel over 4 years ago

  • Status changed from New to Accepted

We will verify that the CMake build of ROOT works on all supported platforms, and if so, we will switch to using CMake with our next build of ROOT6.

#2 Updated by Kyle Knoepfel over 4 years ago

  • Status changed from Accepted to Assigned
  • Assignee set to Lynn Garren
  • Estimated time set to 16.00 h

#3 Updated by Lynn Garren over 4 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

With root v6_06_08, cmake is used to build root. This release of root is used by art v2_04_00 and later.

#4 Updated by Lynn Garren about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF