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) 2016 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 https://mozilla.org/MPL/2.0/.
0008
0009 cmake_minimum_required(VERSION 3.25)
0010
0011 # CMake include(s).
0012 include(FetchContent)
0013
0014 # Tell the user what's happening.
0015 message(STATUS "Building VecMem as part of the Acts project")
0016
0017 set(VECMEM_VERSION "v${_acts_vecmem_version}")
0018
0019 # Declare where to get VecMem from.
0020 FetchContent_Declare(VecMem SYSTEM ${ACTS_VECMEM_SOURCE})
0021
0022 # Options used in the build of VecMem.
0023 set(VECMEM_BUILD_TESTING
0024 FALSE
0025 CACHE BOOL
0026 "Turn off the build of the VecMem unit tests"
0027 )
0028 set(VECMEM_BUILD_BENCHMARKING
0029 FALSE
0030 CACHE BOOL
0031 "Turn off the build of VecMem benchmarking"
0032 )
0033
0034 # Now set up its build.
0035 FetchContent_MakeAvailable(VecMem)