Skip to content
Snippets Groups Projects
Commit a0d3afa9 authored by Pere Mato Vila's avatar Pere Mato Vila
Browse files

Define PYTHIA8 enviroment if not defined

parent e951810d
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,11 @@ if (NOT ROOT_pythia6_FOUND)
endif()
if (NOT ROOT_pythia8_FOUND)
set(pythia_veto ${pythia_veto} pythia/pythia8.C)
else()
if("$ENV{PYTHIA8}" STREQUAL "")
get_filename_component(pythia8dir "${PYTHIA8_INCLUDE_DIR}" DIRECTORY)
list(APPEND ROOT_environ PYTHIA8=${pythia8dir})
endif()
endif()
#---These ones are disabled !!! ------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment