Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /acts/thirdparty/vecmem/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) 2021 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 VecMem as part of the Acts project" )
0015 
0016 # Declare where to get VecMem from.
0017 set( ACTS_VECMEM_GIT_REPOSITORY "https://github.com/acts-project/vecmem.git"
0018    CACHE STRING "Git repository to take VecMem from" )
0019 set( ACTS_VECMEM_GIT_TAG "v0.4.0" CACHE STRING "Version of VecMem to build" )
0020 mark_as_advanced( ACTS_VECMEM_GIT_REPOSITORY ACTS_VECMEM_GIT_TAG )
0021 FetchContent_Declare( VecMem
0022    GIT_REPOSITORY "${ACTS_VECMEM_GIT_REPOSITORY}"
0023    GIT_TAG "${ACTS_VECMEM_GIT_TAG}" )
0024 
0025 # Now set up its build.
0026 FetchContent_MakeAvailable( VecMem )