RootUtils: cmake fix for clang compilation
Compare changes
+ 4
− 1
@@ -9,6 +9,9 @@ find_package( Python COMPONENTS Development )
@@ -28,7 +31,7 @@ atlas_add_library( RootUtilsPyROOT
Only the RootUtilsPyROOT library should depend on the pyroot libraries (ROOTTPython and cppyy). In particular, the RootUtils library should not depend on these libraries.
Things were failing in the clang build because RootUtils was linking against cppyy but not against python, so things downstream were failing to find python symbols.
(In principle this is wrong for the gcc build as well; not entirely sure why it was working there.)