]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/CMakeLists.txt
making FillQA consistent with AOD
[u/mrichter/AliRoot.git] / PYTHIA6 / CMakeLists.txt
index 0660b448b5754ee8217f9b535a4e1d02edbfe369..dab71ebfb133af906fd0f8879e300845e58bdbd8 100644 (file)
@@ -1,32 +1,10 @@
-# -*- mode: cmake -*-
-# Create a library called "lib<name>" which includes the source files given in
-# the array .
-# The extension is already found.  Any number of sources could be listed here.
+# AliRoot Build System CMakeLists for PYTHIA6
+#
+# Author: Johny Jose m(johny.jose@cern.ch)
+#         Port of previous Makefile build to cmake
 
-set(INCLUDE_DIRECTORIES
-${CMAKE_SOURCE_DIR}/PYTHIA6
-${CMAKE_SOURCE_DIR}/PYTHIA6/QPYTHIA
-${CMAKE_SOURCE_DIR}/STEER
-${CMAKE_SOURCE_DIR}/LHAPDF
-${CMAKE_SOURCE_DIR}/EVGEN
-${CMAKE_SOURCE_DIR}/FASTSIM
-${ROOT_INCLUDE_DIR}
-)
-
-include_directories( ${INCLUDE_DIRECTORIES})
-
-set(LINK_DIRECTORIES
-${ROOT_LIBRARY_DIR}
-) 
-
-link_directories( ${LINK_DIRECTORIES})
-
-SetModule()
-
-include(CMake_libpythia6.txt)
-
-include(CMake_libAliPythia6.txt)
-
-include(CMake_libqpythia.txt)
+cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
 
+file(GLOB PACKAGES CMake*.pkg)
 
+ALICE_BuildModule()