Warning, /acts/Detray/plugins/algebra/smatrix/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 message(STATUS "Building the SMatrix algebra plugin")
0010
0011 find_package(ROOT COMPONENTS Core MathCore Smatrix REQUIRED)
0012
0013 # Set up the library.
0014 detray_add_library( detray_algebra_smatrix algebra_smatrix
0015 "include/algebra/smatrix.hpp"
0016 "include/algebra/impl/*.hpp"
0017 "include/algebra/impl/detail/*.hpp"
0018 )
0019
0020 target_link_libraries(
0021 detray_algebra_smatrix
0022 INTERFACE ROOT::Core ROOT::MathCore ROOT::Smatrix detray::core
0023 )
0024
0025 target_compile_definitions(
0026 detray_algebra_smatrix
0027 INTERFACE
0028 DETRAY_CUSTOM_SCALARTYPE=${DETRAY_CUSTOM_SCALARTYPE}
0029 DETRAY_ALGEBRA_SMATRIX
0030 )
0031
0032 detray_test_public_headers( detray_algebra_smatrix
0033 "algebra/smatrix.hpp"
0034 )