]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/PROOF-INF.ANALYSIS/SETUP.C
Split: removed CMake refs to OADB
[u/mrichter/AliRoot.git] / ANALYSIS / PROOF-INF.ANALYSIS / SETUP.C
index ca7c2089213e1820d19c2caa40a7129a80aed458..4627f32e9007514710c8262013787287d902595f 100644 (file)
@@ -3,10 +3,13 @@ void SETUP()
   // Load the ANALYSIS library
    gSystem->Load("libANALYSIS");
 
-   // Set the Inlucde paths
-   gSystem->SetIncludePath("-I$ROOTSYS/include -IANALYSIS");
+   // Set the include paths
    gROOT->ProcessLine(".include ANALYSIS");
 
    // Set our location, so that other packages can find us
    gSystem->Setenv("ANALYSIS_INCLUDE", "ANALYSIS");
+
+   // Set our lib coordinates, so that other packages can link to us
+   TString lib = TString::Format("-L%s -lANALYSIS", gSystem->WorkingDirectory());
+   gSystem->Setenv("ANALYSIS_LIBS", lib.Data());
 }