Warning, /acts/Examples/Detectors/MagneticField/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 acts_add_library(ExamplesMagneticField SHARED src/ScalableBFieldService.cpp)
0002 target_include_directories(
0003 ActsExamplesMagneticField
0004 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0005 )
0006 target_link_libraries(
0007 ActsExamplesMagneticField
0008 # the ROOT libraries should be private, but if we do that then the linker
0009 # fails with some missing ROOT symbols.
0010 PUBLIC Acts::ExamplesFramework ROOT::Core ROOT::Tree
0011 PRIVATE std::filesystem
0012 )
0013
0014 acts_compile_headers(ExamplesMagneticField GLOB "include/**/*.hpp")