-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #289 from asalzburger/feat-add-svg-display
feat: add svg display
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Detray library, part of the ACTS project (R&D line) | ||
# | ||
# (c) 2021-2022 CERN for the benefit of the ACTS project | ||
# | ||
# Mozilla Public License Version 2.0 | ||
|
||
# CMake include(s). | ||
cmake_minimum_required( VERSION 3.14 ) | ||
include( FetchContent ) | ||
|
||
# Tell the user what's happening. | ||
message( STATUS "Building actsvg as part of the Detray project" ) | ||
|
||
# Declare where to get Actsvg from. | ||
set( DETRAY_ACTSVG_GIT_REPOSITORY "https://github.com/acts-project/actsvg.git" | ||
CACHE STRING "Git repository to take actsvg from" ) | ||
set( DETRAY_ACTSVG_GIT_TAG "v0.4.19" CACHE STRING "Version of actsvg to build" ) | ||
mark_as_advanced( DETRAY_ACTSVG_GIT_REPOSITORY DETRAY_ACTSVG_GIT_TAG ) | ||
FetchContent_Declare( actsvg | ||
GIT_REPOSITORY "${DETRAY_ACTSVG_GIT_REPOSITORY}" | ||
GIT_TAG "${DETRAY_ACTSVG_GIT_TAG}" ) | ||
|
||
# Now set up its build. | ||
FetchContent_MakeAvailable( actsvg ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This directory holds a simple build recipe for the | ||
[ActSVG](https://github.com/acts-project/actsvg) project. Used in case | ||
`DETRAY_USE_SYSTEM_ACTSVG` is set to `FALSE` for the build. |