diff --git a/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt b/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt index 0680977bf42063e3eea2140aecd1a50ee5e08d3c..2e00e1427c5d35ccb84d7abb332d98d12ee0de87 100644 --- a/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt +++ b/LHCbG4Tests/G4MScInThinLayerTest/CMakeLists.txt @@ -5,9 +5,9 @@ gaudi_depends_on_subdirs(LHCbG4PhysLists) find_package(CLHEP REQUIRED) find_package(ROOT COMPONENTS Hist Gpad RIO) +find_package(TBB) include_directories(SYSTEM ${CMAKE_INSTALL_PREFIX}/include ${CLHEP_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}) -#include_directories(${CMAKE_INSTALL_PREFIX}/include) link_directories(${CMAKE_INSTALL_PREFIX}/lib) set(Geant4_LIBRARIES @@ -23,7 +23,7 @@ set(Geant4_LIBRARIES gaudi_add_executable(G4MScInThinLayerTest G4MScInThinLayerTest.cc src/*.cc INCLUDE_DIRS include CLHEP ROOT - LINK_LIBRARIES ${Geant4_LIBRARIES} CLHEP ROOT G4LHCblists) + LINK_LIBRARIES ${Geant4_LIBRARIES} CLHEP ROOT TBB G4LHCblists) add_dependencies(G4MScInThinLayerTest Geant4)