Warning, /acts/thirdparty/FRNN/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 include(FetchContent)
0009
0010 message(STATUS "Building FRNN as part of the ACTS project")
0011
0012 # Declare where to get frnncontent from
0013 FetchContent_Declare(frnncontent ${ACTS_FRNN_SOURCE})
0014
0015 # FRNN does not provide a CMakeLists.txt, so we use a custom one. Because of this,
0016 # we have to implement the populate step manually
0017 FetchContent_GetProperties(frnncontent)
0018 if(NOT frnncontent_POPULATED)
0019 FetchContent_Populate(frnncontent)
0020 configure_file(
0021 CMakeLists.txt.in
0022 "${frnncontent_SOURCE_DIR}/CMakeLists.txt"
0023 COPYONLY
0024 )
0025 add_subdirectory(${frnncontent_SOURCE_DIR} ${frnncontent_BINARY_DIR})
0026 endif()