Commit c1c664ef authored by Marco Clemencic's avatar Marco Clemencic

Avoid explicit call to `EnableAutoLoading` for ROOT > 6.18

See https://sft.its.cern.ch/jira/browse/ROOT-10514
parent 7e9cfd89
Pipeline #1437362 passed with stages
in 32 minutes and 18 seconds
...@@ -222,7 +222,11 @@ namespace GaudiRoot { ...@@ -222,7 +222,11 @@ namespace GaudiRoot {
gSystem->Load( "libGaudiKernelDict" ); gSystem->Load( "libGaudiKernelDict" );
gSystem->Load( "libGaudiExamplesDict" ); gSystem->Load( "libGaudiExamplesDict" );
#else #else
# if ROOT_VERSION_CODE < ROOT_VERSION( 6, 19, 0 )
gInterpreter->EnableAutoLoading(); gInterpreter->EnableAutoLoading();
# else
gInterpreter->LoadLibraryMap();
# endif
gInterpreter->AutoLoad( "DataObject" ); gInterpreter->AutoLoad( "DataObject" );
gInterpreter->AutoLoad( "PoolDbLinkManager" ); gInterpreter->AutoLoad( "PoolDbLinkManager" );
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment