set(CMAKE_SHARED_LIBRARY_SUFFIX .so)
endif (NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
-# ROOT dictionaries and maps
-include(CMakeALICE)
-
# Checking first for DIM, DATE, AMORE and daqDA
# in case ROOT Extra static library needs to be enabled
endif(MDCRPM)
# ROOT configuration mandatory
+# FindRoot has to be after the enabling of DA due to libRootExtra
+# Do not put it above DA
if(ROOTSYS)
find_package(ROOT REQUIRED)
message(FATAL_ERROR "ROOT installation not found!\nPlease point to the ROOT installation using -DROOTSYS=ROOT_INSTALL_DIR")
endif(ROOTSYS)
+# ROOT dictionaries and maps
+include(CMakeALICE)
+
+
# If no Fortran, i.e on Windows
# We need to specify ROOT fortran
# (f95 comes before gfortran in default module)
message(STATUS "Doxygen and Graphviz not found. Disabling support for documentation generation")
endif(DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND)
-# DATE
-if(DATE_CONFIG)
- find_package(DATE)
-endif(DATE_CONFIG)
-
-# daqDA
-if(daqDA)
- find_package(daqDA)
-endif(daqDA)
-
-# DA is enabled
-if(DA)
- if(NOT DATE_FOUND)
- set(DA FALSE)
- message(FATAL_ERROR "DAs enabled but no DATE support found. Please point to your date installation using \"DATE_CONFIG\"")
- endif()
-
- if(NOT daqDA_FOUND)
- set(DA FALSE)
- message(FATAL_ERROR "DAs enabled but no daqDA support found. Please point to your daqDA installation using \"daqDA\" variable")
- endif()
-
- # Enable static libraries
- set(ALIROOT_STATIC TRUE)
- message(STATUS "DAs enabled")
-endif(DA)
-
# FastJet
find_package(FASTJET)
# Generating the AliRoot-config.cmake file
configure_file(${PROJECT_SOURCE_DIR}/cmake/AliRoot-config.cmake.in ${CMAKE_BINARY_DIR}/version/AliRoot-config.cmake @ONLY)
-install(FILES ${PROJECT_BINARY_DIR}/cmake/AliRoot-config.cmake DESTINATION etc)
+install(FILES ${PROJECT_BINARY_DIR}/version/AliRoot-config.cmake DESTINATION etc)
# General flags -> Should be moved into a configuration file
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
add_subdirectory(ACORDE)
add_subdirectory(AD)
add_subdirectory(BCM)
-add_subdirectory(CORRFW)
add_subdirectory(EMCAL)
add_subdirectory(EPOS)
add_subdirectory(EVE)
add_subdirectory(HLT)
add_subdirectory(HMPID)
add_subdirectory(ITS)
-add_subdirectory(JETAN)
add_subdirectory(MFT)
add_subdirectory(MONITOR)
add_subdirectory(MUON)
-add_subdirectory(OADB)
add_subdirectory(PHOS)
add_subdirectory(PMD)
add_subdirectory(PYTHIA8)
add_subdirectory(TAmpt)
endif(CMAKE_Fortran_COMPILER)
-# PWG libraries
-add_subdirectory(PWG)
-add_subdirectory(PWGCF)
-# Depends on PWGCF - To fix dependencies
-add_subdirectory(PWGGA)
-# Depends on CF - To fix the dependencies
-add_subdirectory(PWGDQ)
-add_subdirectory(PWGHF)
-# Depends on CF
-add_subdirectory(PWGJE)
-add_subdirectory(PWGLF)
-add_subdirectory(PWGPP)
-add_subdirectory(PWGUD)
add_subdirectory(data)
add_subdirectory(GRP)
add_subdirectory(OCDB)