Back to home page

EIC code displayed by LXR

 
 

    


Warning, /acts/Traccc/extern/tbb/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) 2022-2025 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 TBB as part of the TRACCC project")
0013 
0014 # Declare where to get TBB from.
0015 set(TRACCC_TBB_SOURCE
0016     "URL;https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2022.0.0.tar.gz;URL_MD5;78ec44cecf3cd78c4984e61f1bb93134"
0017     CACHE STRING
0018     "Source for TBB, when built as part of this project"
0019 )
0020 mark_as_advanced(TRACCC_TBB_SOURCE)
0021 FetchContent_Declare(TBB SYSTEM ${TRACCC_TBB_SOURCE} OVERRIDE_FIND_PACKAGE)
0022 
0023 # Options used in the build of TBB.
0024 set(TBB_TEST FALSE CACHE BOOL "Turn off the TBB tests")
0025 set(TBB_STRICT FALSE CACHE BOOL "Do not throw errors on compiler warnings")
0026 
0027 # Make TBB work without warnings with modern CMake versions.
0028 set(CMAKE_POLICY_VERSION_MINIMUM "3.10")
0029 
0030 # Get it into the current directory.
0031 FetchContent_MakeAvailable(TBB)