]> git.uio.no Git - u/mrichter/AliRoot.git/blame - cmake/FinddaqDA.cmake
Update timestamp for new data points simulation
[u/mrichter/AliRoot.git] / cmake / FinddaqDA.cmake
CommitLineData
f82bfa66 1# **************************************************************************
2# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
3# * *
4# * Author: The ALICE Off-line Project. *
5# * Contributors are mentioned in the code where appropriate. *
6# * *
7# * Permission to use, copy, modify and distribute this software and its *
8# * documentation strictly for non-commercial purposes is hereby granted *
9# * without fee, provided that the above copyright notice appears in all *
10# * copies and that both the copyright notice and this permission notice *
11# * appear in the supporting documentation. The authors make no claims *
12# * about the suitability of this software for any purpose. It is *
13# * provided "as is" without express or implied warranty. *
14# **************************************************************************
15
16# Check for daqDA library in order to build detectors DA
17
18set(daqDA_FOUND false)
19
20if(daqDA)
21 # Check for header
22 find_path(DAQDAH daqDA.h PATHS ${daqDA})
23
24 if(DAQDAH-NOTFOUND)
25 message(FATAL_ERROR "daqDA enabled but daqDA.h not found. Please check that daqDA points to your installation")
26 endif(DAQDAH-NOTFOUND)
9f4ff23c 27 mark_as_advanced(DAQDAH)
28
f82bfa66 29 find_path(DAQDALIB libdaqDA.a PATHS ${daqDA})
30
31 if(DAQDALIB-NOTFOUND)
32 message(FATAL_ERROR "daqDA enabled but libdaqDA.a not found. Please check that daqDA points to your installation")
33 endif(DAQDALIB-NOTFOUND)
9f4ff23c 34 mark_as_advanced(DAQDALIB)
f82bfa66 35
36 set(daqDA_FOUND TRUE)
37endif(daqDA)