]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - CMakeLists.txt
- adding new base class for the transverse energy tasks
[u/mrichter/AliRoot.git] / CMakeLists.txt
index c912988d81a79e275736ff7472b2e1b3df011652..0c144f2be7aadb684f91f40043abb2ce9c864680 100644 (file)
@@ -143,7 +143,7 @@ set(CERNMODULES LHAPDF HIJING MICROCERN HERWIG)
 if(EXISTS ${ROOTINCDIR}/TPythia6.h)
   set(PYTHIA6 TRUE)
   list(APPEND CERNMODULES PYTHIA6 RALICE EVGEN)
-else()
+elseif(NOT NOPYTHIA)
   message(FATAL_ERROR "ROOT must have Pythia6 enabled !")
 endif(EXISTS ${ROOTINCDIR}/TPythia6.h)