X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ANALYSIS%2FANALYSISalice%2FCMakeLists.txt;h=798c5773edc6aa7af4c451813a979dee8c3e9ef3;hb=4d31eb1cd253ce7fd38807e6e26943b2a4b54c93;hp=3d9963f63b812454f008d6c57779282df2610d69;hpb=adf1619a71cdbfe39473aa7de6c427aac32fd59b;p=u%2Fmrichter%2FAliRoot.git diff --git a/ANALYSIS/ANALYSISalice/CMakeLists.txt b/ANALYSIS/ANALYSISalice/CMakeLists.txt index 3d9963f63b8..798c5773edc 100644 --- a/ANALYSIS/ANALYSISalice/CMakeLists.txt +++ b/ANALYSIS/ANALYSISalice/CMakeLists.txt @@ -72,12 +72,25 @@ set(SRCS AliXMLCollection.cxx ) -# If ROOT was build with no AliEn support we disable the AliROOT AliEn support -if(ROOT_HASALIEN STREQUAL "no") - message(STATUS "ROOT was build with no alien support. Disabling AliROOT AliEn support") + +# If ROOT has no xml support desabling collections and AliEn support +if(ROOT_HASXML) + set(SRCS ${SRCS} + AliTagAnalysis.cxx + AliXMLCollection.cxx + ) + + # If ROOT was build with no AliEn support we disable the AliROOT AliEn support + if(ROOT_HASALIEN) + set(SRCS ${SRCS} + AliAnalysisAlien.cxx + ) + else() + message(STATUS "${MODULE} - ROOT was build with no alien support. Disabling AliROOT AliEn support") + endif() else() - set(SRCS ${SRCS} AliAnalysisAlien.cxx) -endif(ROOT_HASALIEN STREQUAL "no") + message(STATUS "${MODULE} - ROOT was build with no xml support. Disabling XML collection and AliEn support") +endif() # Headers from sources string(REPLACE ".cxx" ".h" HDRS "${SRCS}")