From fac91854855e50dd75918ffd8262ed7e4bd9970e Mon Sep 17 00:00:00 2001 From: Paul Gessinger Date: Wed, 9 Oct 2024 11:46:45 +0200 Subject: [PATCH] test: Add GeoModel plugin to Downstream project test --- Tests/DownstreamProject/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Tests/DownstreamProject/CMakeLists.txt b/Tests/DownstreamProject/CMakeLists.txt index d41277017a5..0cb5ca1f9ea 100644 --- a/Tests/DownstreamProject/CMakeLists.txt +++ b/Tests/DownstreamProject/CMakeLists.txt @@ -53,3 +53,10 @@ if(EDM4HEP) find_package(Acts CONFIG REQUIRED COMPONENTS PluginEDM4hep) target_link_libraries(ShowActsVersion PRIVATE ActsPluginEDM4hep) endif() + +option(GEOMODEL "Build with GeoModel" ON) +if(GEOMODEL) + message(STATUS "Adding GeoModel plugin") + find_package(Acts CONFIG REQUIRED COMPONENTS PluginGeoModel) + target_link_libraries(ShowActsVersion PRIVATE ActsPluginGeoModel) +endif()