Skip to content

Commit

Permalink
made it work for multiple Geant4 in include path
Browse files Browse the repository at this point in the history
  • Loading branch information
jintonic committed Jan 10, 2021
1 parent c0439a6 commit 31292c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ endif
CXXFLAGS=$(shell geant4-config --cflags)
LDLIBS=$(shell geant4-config --libs)
# fix cxxflags for Geant4.10.7.0
CXXFLAGS+=$(shell geant4-config --cflags |awk '{print $$NF}'|sed 's|Geant4||')
CXXFLAGS+=$(shell geant4-config --cflags |awk '{print $$NF}'|sed 's|de/Geant4|de|')
CXXFLAGS+=-Wno-shadow

# In case that GDML and HDF5 libs are in user specified folders,
Expand Down

0 comments on commit 31292c9

Please sign in to comment.