From c157df98c9e2f9ca98719b060e84b85f4cac002a Mon Sep 17 00:00:00 2001 From: Paul Gessinger Date: Mon, 9 Dec 2024 10:13:07 +0100 Subject: [PATCH] add traccc patch until version bump --- thirdparty/traccc/CMakeLists.txt | 7 ++++++- thirdparty/traccc/remove-json-include.diff | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 thirdparty/traccc/remove-json-include.diff diff --git a/thirdparty/traccc/CMakeLists.txt b/thirdparty/traccc/CMakeLists.txt index 2974ac1eea5..1c9ce167b89 100644 --- a/thirdparty/traccc/CMakeLists.txt +++ b/thirdparty/traccc/CMakeLists.txt @@ -15,7 +15,12 @@ message(STATUS "Building traccc as part of the Acts project") set(TRACCC_VERSION "${_acts_traccc_version}") # Declare where to get traccc from. -FetchContent_Declare(traccc ${ACTS_TRACCC_SOURCE}) +FetchContent_Declare( + traccc + ${ACTS_TRACCC_SOURCE} + PATCH_COMMAND + patch -p1 -i ${CMAKE_CURRENT_SOURCE_DIR}/remove-json-include.diff +) set(ACTS_TRACCC_SCALARTYPE "double") diff --git a/thirdparty/traccc/remove-json-include.diff b/thirdparty/traccc/remove-json-include.diff new file mode 100644 index 00000000000..72a6303ae94 --- /dev/null +++ b/thirdparty/traccc/remove-json-include.diff @@ -0,0 +1,12 @@ +diff --git a/io/src/read_digitization_config.cpp b/io/src/read_digitization_config.cpp +index fbba17ae..defe89c5 100644 +--- a/io/src/read_digitization_config.cpp ++++ b/io/src/read_digitization_config.cpp +@@ -13,7 +13,6 @@ + // Acts include(s). + #include + #include +-#include + + // System include(s). + #include