]> git.uio.no Git - u/mrichter/AliRoot.git/blob - cmake/FinddaqDA.cmake
doxy: do not strip <H1>, <H2>...
[u/mrichter/AliRoot.git] / cmake / FinddaqDA.cmake
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
18 set(daqDA_FOUND false)
19
20 if(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)
27     
28     find_path(DAQDALIB libdaqDA.a PATHS ${daqDA})
29     
30     if(DAQDALIB-NOTFOUND)
31         message(FATAL_ERROR "daqDA enabled but libdaqDA.a not found. Please check that daqDA points to your installation")
32     endif(DAQDALIB-NOTFOUND)
33
34     set(daqDA_FOUND TRUE)
35 endif(daqDA)