Hi! On Alma9 EPEL installed ROOT (6.32.02 at this moment), using include(${ROOT_USE_FILE})
throws warnings about of all non-installed ROOT components (so i end up installing all PROOF components for example even if i do not use them just to not have the list of warnings). What would be the proper way to not use ${ROOT_USE_FILE}
but still inherit the ROOT compilation settings?
find_package(ROOT REQUIRED)
set(CMAKE_CXX_FLAGS "${ROOT_CXX_FLAGS}")
...
target_link_libraries(${PROJECT} ${ROOT_LIBRARIES})
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.