Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions subsystems/Calorimeter/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) CERN for the benefit of the SHiP Collaboration

# ── toml++ (header-only TOML parser) ──────────────────────────────────────────
# Pulled in via FetchContent so we don't vendor a 7000-line single header.
# Pinned to a release tag so subsequent fetches are reproducible.
include(FetchContent)
FetchContent_Declare(
tomlplusplus
GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git
GIT_TAG v3.4.0
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(tomlplusplus)
# toml++ — header-only TOML parser used by CalorimeterConfig's parsing
# internals. Available on conda-forge (`tomlplusplus`) and in most distros.
find_package(tomlplusplus REQUIRED)

# Stage calo.toml into the build directory so tests running from there find it.
configure_file(
Expand Down
Loading