THydjet
[u/mrichter/AliRoot.git] / HLT / CMakeLists.txt
CommitLineData
6d839a5c 1# AliRoot Build System CMakeLists for HLT
2#
3# Author: Johny Jose m(johny.jose@cern.ch)
4# Port of previous Makefile build to cmake
5
cbd58b9c 6cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
6d839a5c 7
c6ac942a 8option(HLT_CUDA "Build HLT GPU tracker using CUDA" OFF)
9option(HLT_OPENCL "Build HLT GPU tracker using OpenCL" OFF)
10
ebf7a8e8
TB
11include("CMakehltdoc.conf")
12
6d839a5c 13file(GLOB PACKAGES CMake*.pkg)
14
c6ac942a 15if(HLT_CUDA)
16 list(APPEND PACKAGES TPCLib/tracking-ca/cagpu/CMakelibAliHLTTPCCAGPU.pkg)
17endif(HLT_CUDA)
18
19if(HLT_OPENCL)
20 list(APPEND PACKAGES TPCLib/tracking-ca/cagpu/CMakelibAliHLTTPCCAGPUOpenCL.pkg)
21endif()
22
6d839a5c 23ALICE_BuildModule()