Skip to content

Commit

Permalink
update cmake in and downstream
Browse files Browse the repository at this point in the history
  • Loading branch information
fredevb committed Jul 18, 2024
1 parent 606100a commit 32e0073
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Tests/DownstreamProject/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ find_package(
PluginLegacy
PluginTGeo
PluginCovfie
PluginDetray)
PluginDetray
PluginTraccc)

# place artifacts in GNU-like paths, e.g. binaries in `<build>/bin`
include(GNUInstallDirs)
Expand All @@ -31,7 +32,8 @@ target_link_libraries(
ActsPluginLegacy
ActsPluginTGeo
ActsPluginCovfie
ActsPluginDetray)
ActsPluginDetray
ActsPluginTraccc)

option(DD4HEP "Build with DD4hep" ON)
if(DD4HEP)
Expand Down
14 changes: 14 additions & 0 deletions cmake/ActsConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,20 @@ if(PluginGeoModel IN_LIST Acts_COMPONENTS)
find_dependency(GeoModelIO @GeoModel_VERSION@ CONFIG EXACT)
endif()

if (PluginCovfie IN_LIST Acts_COMPONENTS)
find_dependency(covfie @covfie_VERSION@ CONFIG EXACT)
endif()

if(PluginDetray IN_LIST Acts_COMPONENTS OR PluginTraccc IN_LIST Acts_COMPONENTS)
find_dependency(vecmem @vecmem_VERSION@ CONFIG EXACT)
find_dependency(algebra-plugins @algebra-plugins_VERSION@ CONFIG EXACT)
find_dependency(detray @detray_VERSION@ CONFIG EXACT)
endif()

if(PluginTraccc IN_LIST Acts_COMPONENTS)
find_dependency(traccc @traccc_VERSION@ CONFIG EXACT)
endif()

# dependencies that we have built ourselves but cannot be
# straightforwardly handed to cmake
if(NOT @ACTS_USE_SYSTEM_BOOST@)
Expand Down

0 comments on commit 32e0073

Please sign in to comment.