Skip to content

Commit

Permalink
add traccc patch until version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Dec 9, 2024
1 parent f3046fa commit c157df9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
7 changes: 6 additions & 1 deletion thirdparty/traccc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
12 changes: 12 additions & 0 deletions thirdparty/traccc/remove-json-include.diff
Original file line number Diff line number Diff line change
@@ -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 <Acts/Plugins/Json/ActsJson.hpp>
#include <Acts/Plugins/Json/GeometryHierarchyMapJsonConverter.hpp>
-#include <Acts/Plugins/Json/UtilitiesJsonConverter.hpp>

// System include(s).
#include <algorithm>

0 comments on commit c157df9

Please sign in to comment.