AliITSHandleDaSSD requires DATE
authorhristov <Peter.Hristov@cern.ch>
Mon, 17 Nov 2014 10:49:04 +0000 (11:49 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:57 +0000 (13:51 +0100)
ITS/ITSbase/CMakeLists.txt

index 1cf02dc..8e15972 100644 (file)
@@ -66,7 +66,6 @@ set(SRCS
     AliITSgeom.cxx
     AliITSgeomMatrix.cxx
     AliITSgeomTGeo.cxx
-    AliITSHandleDaSSD.cxx
     AliITSHLTforSDD.cxx
     AliITSInitGeometry.cxx
     AliITSIntMap.cxx
@@ -108,6 +107,9 @@ set(SRCS
     AliITSTriggerAlgorithmConditions.cxx
     AliITSTriggerConditions.cxx
    )
+if (DATE_FOUND)
+    set (SRCS "${SRCS} AliITSHandleDaSSD.cxx")
+endif (DATE_FOUND)
 
 # Headers from sources
 string(REPLACE ".cxx" ".h" HDRS "${SRCS}")