Skip to content

Commit

Permalink
using c++ 14 and not using ROOTSYS anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurizio Ungaro committed Feb 27, 2023
1 parent 93f7194 commit 0f45b1e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions SConstruct
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
from init_env import init_environment

import os
ROOTSYS = os.environ['ROOTSYS']

env = init_environment("qt5 clas12 clhep evio root geant4 xercesc mlibrary hipo")
env.Append(CXXFLAGS = ' -std=c++11 ')

if env['PLATFORM'] != 'darwin':
env.Append(RPATH = ROOTSYS + '/lib')
env = init_environment("qt5 clas12 clhep evio root geant4 xercesc mlibrary hipo ccdb")
env.Append(CXXFLAGS = ' -std=c++14 ')

# library
lib_sources = Split("""src/banks.cc""")
Expand Down

0 comments on commit 0f45b1e

Please sign in to comment.