Skip to content

Commit

Permalink
* make the path to the include dir $ROOTSYS/include/root instead of
Browse files Browse the repository at this point in the history
  $ROOTSYS/include so that ROOTSYS can point to /usr. [rtj]
  • Loading branch information
rjones30 committed Nov 6, 2023
1 parent 935afe1 commit eeb8a2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ hasGDMLsupport = False
rootsys = os.getenv('ROOTSYS') # needed to run root to generate GDML
if rootsys != None:
if os.path.exists('%s/include/TGDMLWrite.h' % rootsys): hasGDMLsupport = True
if os.path.exists('%s/include/root/TGDMLWrite.h' % rootsys): hasGDMLsupport = True
if hasGDMLsupport:
print('ROOT GDML support found. GDML files will be generated.')
else:
Expand Down

0 comments on commit eeb8a2c

Please sign in to comment.