diff --git a/Core/CMakeLists.txt b/Core/CMakeLists.txt index 2a5eeaf3592730188f7e1aba5c313f3697c08543..a6058967b66ba8801caee7e0963b4cee3d07a370 100644 --- a/Core/CMakeLists.txt +++ b/Core/CMakeLists.txt @@ -2,7 +2,9 @@ file(GLOB_RECURSE src_files "src/*.cpp" "include/*.*pp") add_library(ACTFramework SHARED ${src_files}) target_include_directories (ACTFramework PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/> $<INSTALL_INTERFACE:include>) +target_include_directories(ACTFramework PUBLIC ${ROOT_INCLUDE_DIRS}) target_link_libraries(ACTFramework PUBLIC ACTS::ACTSCore) +target_link_libraries(ACTFramework PUBLIC ${ROOT_LIBRARIES}) install(TARGETS ACTFramework LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) install(DIRECTORY include/ACTFW DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) diff --git a/Core/src/Framework/Sequencer.cpp b/Core/src/Framework/Sequencer.cpp index 8bfa20fcc6db909e3ae61cbb69e50875f8251d5e..419813a172fbf639998ae1203808ec022e3d7784 100644 --- a/Core/src/Framework/Sequencer.cpp +++ b/Core/src/Framework/Sequencer.cpp @@ -7,16 +7,16 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include "ACTFW/Framework/Sequencer.hpp" - #include <algorithm> - #include "ACTFW/Concurrency/parallel_for.hpp" #include "ACTFW/Framework/WhiteBoard.hpp" +#include "TROOT.h" FW::Sequencer::Sequencer(const Sequencer::Config& cfg, std::unique_ptr<const Acts::Logger> logger) : m_cfg(cfg), m_logger(std::move(logger)) { + ROOT::EnableThreadSafety(); } FW::ProcessCode