Skip to content
Snippets Groups Projects
Commit 18e9d509 authored by dkonst's avatar dkonst
Browse files

update for geantv hepmc3 directives

git-svn-id: svn+ssh://svn.cern.ch/reps/lcgsoft/trunk/lcgcmake@7434 4525493e-7705-40b1-a816-d608a930855b
parent 51d7c197
No related branches found
No related tags found
No related merge requests found
...@@ -321,17 +321,11 @@ else() ...@@ -321,17 +321,11 @@ else()
set(hepmc3_source_command URL http://service-spi.web.cern.ch/service-spi/external/tarFiles/MCGeneratorsTarFiles/hepmc3-${hepmc3_native_version}.tgz) set(hepmc3_source_command URL http://service-spi.web.cern.ch/service-spi/external/tarFiles/MCGeneratorsTarFiles/hepmc3-${hepmc3_native_version}.tgz)
endif() endif()
if(heptools_version MATCHES geantv)
set(hepmc3_options -DROOT_DIR=${ROOT_home}/cmake -DHEPMC_ENABLE_CPP11=ON)
set(ENV{PATH} "${ROOT_home}/bin:$ENV{PATH}")
message("This is the environment" $ENV{PATH})
endif()
if(heptools_version MATCHES geantv) if(heptools_version MATCHES geantv)
set(hepmc3_dependencies Boost pythia8 ROOT) set(hepmc3_dependencies Boost pythia8 ROOT)
message("These are the dependencies" ${hepmc3_dependencies}) set(hepmc3_options -DROOT_DIR=${ROOT_home} -DHEPMC_ENABLE_CPP11=ON)
else() else()
set(hepmc3_dependencies Boost pythia8) set(hepmc3_dependencies Boost pythia8)
message("should not be here" ${heptools_version})
endif() endif()
#---Forward declarations---------------------------------------------------------------------------- #---Forward declarations----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment