Warning, /acts/thirdparty/dfelibs/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required( VERSION 3.11 )
0002 include( FetchContent )
0003
0004 # Tell the user what's happening.
0005 message( STATUS "Building dfelibs as part of the ACTS project" )
0006
0007
0008 # Declare where to get VecMem from.
0009 set( ACTS_DFELIBS_GIT_REPOSITORY "https://github.com/acts-project/dfelibs.git"
0010 CACHE STRING "Git repository to take dfelibs from" )
0011 set( ACTS_DFELIBS_GIT_TAG "v20200416" CACHE STRING "Version of dfelibs to build" )
0012 mark_as_advanced( ACTS_DFELIBS_GIT_REPOSITORY ACTS_DFELIBS_GIT_TAG )
0013 FetchContent_Declare( dfelibs
0014 GIT_REPOSITORY "${ACTS_DFELIBS_GIT_REPOSITORY}"
0015 GIT_TAG "${ACTS_DFELIBS_GIT_TAG}" )
0016
0017 # Now set up its build.
0018 FetchContent_MakeAvailable( dfelibs )