Warning, /acts/Traccc/extern/vecmem/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # TRACCC library, part of the ACTS project (R&D line)
0002 #
0003 # (c) 2021-2026 CERN for the benefit of the ACTS project
0004 #
0005 # Mozilla Public License Version 2.0
0006
0007 # CMake include(s).
0008 cmake_minimum_required(VERSION 3.25)
0009 include(FetchContent)
0010
0011 # Tell the user what's happening.
0012 message(STATUS "Building VecMem as part of the TRACCC project")
0013
0014 # Declare where to get VecMem from.
0015 set(TRACCC_VECMEM_SOURCE
0016 "URL;https://github.com/acts-project/vecmem/archive/refs/tags/v1.25.0.tar.gz;URL_MD5;31c1c2db4273b47f021798ea9de31733"
0017 CACHE STRING
0018 "Source for VecMem, when built as part of this project"
0019 )
0020 mark_as_advanced(TRACCC_VECMEM_SOURCE)
0021 FetchContent_Declare(VecMem SYSTEM ${TRACCC_VECMEM_SOURCE})
0022
0023 # Options used in the build of VecMem.
0024 set(VECMEM_BUILD_TESTING
0025 FALSE
0026 CACHE BOOL
0027 "Turn off the build of the VecMem unit tests"
0028 )
0029
0030 # Get it into the current directory.
0031 FetchContent_MakeAvailable(VecMem)