Skip to content

Commit

Permalink
addressing shortcoming of geant4-config 10.7.4 not returning all libr…
Browse files Browse the repository at this point in the history
…aries
  • Loading branch information
maureeungaro committed Jun 26, 2024
1 parent e48e0c9 commit 6e0144e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion source/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ from init_env import init_environment
# adding ccdb as temporary dependency
# will be removed once the hit process routines are plugins
env = init_environment("qt5 geant4 clhep xercesc ccdb mlibrary cadmesh hipo c12bfields")
env.Append(CXXFLAGS=['-std=c++14'])
env.Append(CXXFLAGS=['-std=c++17'])

# addressing shortcoming of geant4-config 10.7.4 not returning all libraries
additional_libs = []
additional_libs.append('pthread')
additional_libs.append('G4ptl')
additional_libs.append('G4tasking')
additional_libs.append('ccdb_sqlite')
env.Append(LIBS = additional_libs)

# added because clhep is still behind clang (5/2015)
if env['PLATFORM'] == 'darwin':
Expand Down
2 changes: 1 addition & 1 deletion source/gemc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/// \author \n © Maurizio Ungaro
/// \author e-mail: [email protected]\n\n\n

const char *GEMC_VERSION = "gemc 5.10" ;
const char *GEMC_VERSION = "gemc dev" ;

// G4 headers
#include "G4RunManager.hh"
Expand Down

0 comments on commit 6e0144e

Please sign in to comment.