Skip to content
Snippets Groups Projects
Commit 8eb2b8bc authored by pmendez's avatar pmendez
Browse files

ROOTSYS definition

git-svn-id: svn+ssh://svn.cern.ch/reps/lcgsoft/trunk/lcgcmake@7438 4525493e-7705-40b1-a816-d608a930855b
parent 5b3d6d22
No related branches found
No related tags found
No related merge requests found
......@@ -325,6 +325,9 @@ endif()
LCGPackage_set_home(pythia8)
LCGPackage_set_home(ROOT)
if(heptools_version MATCHES geantv)
set(hepmc3_options -DROOT_DIR=${ROOT_home}/cmake -DHEPMC_ENABLE_CPP11=ON)
endif()
if(heptools_version MATCHES geantv)
set(hepmc3_dependencies Boost pythia8 ROOT)
set(hepmc3_options -DROOT_DIR=${ROOT_home} -DHEPMC_ENABLE_CPP11=ON)
......@@ -341,7 +344,7 @@ LCGPackage_Add(
-DHEPMC_BUILD_EXAMPLES=ON
-DPYTHIA8_ROOT_DIR=${pythia8_home}
${hepmc3_options}
BUILD_COMMAND ${MAKE} -j1
BUILD_COMMAND ${MAKE} -j1 ROOTSYS=${ROOT_home}
# DEPENDS Boost pythia8
DEPENDS ${hepmc3_dependencies}
)
......
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