Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /acts/thirdparty/actsvg/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # This file is part of the Acts project.
0002 #
0003 # Copyright (C) 2022 CERN for the benefit of the Acts project
0004 #
0005 # This Source Code Form is subject to the terms of the Mozilla Public
0006 # License, v. 2.0. If a copy of the MPL was not distributed with this
0007 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
0008 
0009 # CMake include(s).
0010 cmake_minimum_required( VERSION 3.11 )
0011 include( FetchContent )
0012 
0013 # Tell the user what's happening.
0014 message( STATUS "Building actsvg as part of the ACTS project" )
0015 
0016 set( ACTS_VERSION "v${_acts_actsvg_version}")
0017 
0018 # Declare where to get VecMem from.
0019 set( ACTS_ACTSVG_GIT_REPOSITORY "https://github.com/acts-project/actsvg.git"
0020    CACHE STRING "Git repository to take actsvg from" )
0021 set( ACTS_ACTSVG_GIT_TAG "${ACTS_VERSION}" CACHE STRING "Version of actsvg to build" )
0022 mark_as_advanced( ACTS_ACTSVG_GIT_REPOSITORY ACTS_ACTSVG_GIT_TAG )
0023 FetchContent_Declare( actsvg
0024    GIT_REPOSITORY "${ACTS_ACTSVG_GIT_REPOSITORY}"
0025    GIT_TAG "${ACTS_ACTSVG_GIT_TAG}" )
0026 
0027 # Now set up its build.
0028 FetchContent_MakeAvailable( actsvg )