Skip to content
Snippets Groups Projects
Commit de8ce5bd authored by Dmitry Popov's avatar Dmitry Popov
Browse files

Fixed TBB linking for G4RichTbSim test

parent b134468d
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ gaudi_depends_on_subdirs(Geant4/G4config) ...@@ -4,6 +4,7 @@ gaudi_depends_on_subdirs(Geant4/G4config)
find_package(CLHEP REQUIRED COMPONENTS Random) find_package(CLHEP REQUIRED COMPONENTS Random)
find_package(ROOT REQUIRED COMPONENTS Hist Tree RIO) find_package(ROOT REQUIRED COMPONENTS Hist Tree RIO)
find_package(TBB)
include_directories(${CMAKE_INSTALL_PREFIX}/include) include_directories(${CMAKE_INSTALL_PREFIX}/include)
link_directories(${CMAKE_INSTALL_PREFIX}/lib) link_directories(${CMAKE_INSTALL_PREFIX}/lib)
...@@ -34,7 +35,7 @@ gaudi_add_executable(G4RichTbSimHTest ...@@ -34,7 +35,7 @@ gaudi_add_executable(G4RichTbSimHTest
src/srcgr/*.cc src/srcgr/*.cc
src/srcG4/proc/*.cc src/srcG4/proc/*.cc
INCLUDE_DIRS include src/srcG4/includeG4 CLHEP ROOT INCLUDE_DIRS include src/srcG4/includeG4 CLHEP ROOT
LINK_LIBRARIES CLHEP ROOT ${Geant4_LIBRARIES}) LINK_LIBRARIES CLHEP ROOT TBB ${Geant4_LIBRARIES})
add_dependencies(G4RichTbSimHTest Geant4) add_dependencies(G4RichTbSimHTest Geant4)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment