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) 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 actsvg as part of the ACTS project")
0016
0017 FetchContent_Declare(actsvg SYSTEM ${ACTS_ACTSVG_SOURCE})
0018
0019 set(ACTSVG_BUILD_PYTHON_BINDINGS
0020 ${ACTS_BUILD_EXAMPLES_PYTHON_BINDINGS}
0021 CACHE BOOL
0022 "Build python bindings for actsvg if ACTS python bindings are enabled"
0023 )
0024
0025 # Now set up its build.
0026 FetchContent_MakeAvailable(actsvg)