![]() Sorry I posted shortly after my first comment but as you see I think I found the issue with my previous setup and now I am using what you mention. What would be the proper way of handling this when ROOT has not been compiled with CMake? And how should I add the proper flags and libraries to be used? I cannot require CMake version to be the same as ROOT’s since this will make the compilation not possible in such system. ![]() So I am thinking that either this is not the proper way of including root libraries inside the project or that I cannot use the Root CMake macros because of an old version of CMake. List sub-command REMOVE_ITEM requires list to be present. When I try to compile I get erro like these: CMake Error at /share/apps/root_v6.04.08/etc/cmake/FindROOT.cmake:49 (list): This should be able to tell which compilation method was used and properly choose the proper way of including root, this is whay I assume but this is not the case. ![]() ![]() What I am doing, and works perfectly, is to add this to my main CMakeLists.txt list(APPEND CMAKE_PREFIX_PATH $ENV/etc/cmake/FindROOT.cmake) I have an analysis framework that I am developing and now I have moved to compile with CMake and I am having issues including ROOT as library of the project. I am not sure if this is the right place to post this or if you prefer this to be posted in JIRA (should JIRA be used for any issue instead of rootalk or just for bug reporst?). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |