How to add Root as external package

Hello,

I’m developing a small project in c++ and I need to add Root as an external package to be able to use .root data files, along with other external packages. I’m using cmake to build the project and I have just a basic knowledge of the CMakeLists.txt structure. What would be the correct way to add root to CMakeLists.txt ???

Any help would be appreciated!

Best,
Aizat

Welcome to the ROOT Forum!
A good way of finding information is to search the Forum :wink:
https://root-forum.cern.ch/search?q=CMakeLists.txt

Hi @adaribay ,

I guess you are looking for Integrating ROOT into CMake projects - ROOT .

Cheers,
Enrico

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.