Actually, as far as I know, those are the default folder pattern where cmake should find his configuration files.
Best
Stefano
-----Original Message-----
From: Marcelo Zimbres [mailto:***@gmail.com]
Sent: Monday, September 15, 2014 3:19 PM
To: roottalk (Mailing list for ROOT users.)
Subject: Re: Using ROOT from another application with cmake
Hi, I have just found the necessary cmake files to find ROOT from my application. I have used the files:
root/etc/cmake/FindROOT.cmake
root/cmake/modules/CMakeMacroParseArguments.cmake
Copying these two files to my application and using "find_package(ROOT)" was enough to find root and set the appropriate variables.
Wouldn't it be better to have these files in the root/build/misc directory just as root.m4 for autotools?
Regards,
Marcelo
Post by Marcelo ZimbresHi,
I see one can find the macro root.m4 in the ROOT distribution, to find
ROOT with autotools. Do you also provide a similar file to find ROOT
with cmake?
Regrads,
Mar