From 27bff3d95c790a2e0abfa0194c28e28a12477549 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 8 Jan 2024 08:06:46 -0600 Subject: [PATCH] fix: link k4FWCore target for includes; install headers --- k4ActsTracking/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/k4ActsTracking/CMakeLists.txt b/k4ActsTracking/CMakeLists.txt index 2c0e2eb..b33798a 100644 --- a/k4ActsTracking/CMakeLists.txt +++ b/k4ActsTracking/CMakeLists.txt @@ -17,14 +17,14 @@ See the License for the specific language governing permissions and limitations under the License. ]] -gaudi_add_header_only_library(k4ActsTracking) - +gaudi_add_header_only_library(k4ActsTracking + LINK + k4FWCore::k4FWCore +) install(TARGETS k4ActsTracking EXPORT k4ActsTrackingTargets - RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT bin - LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT shlib - COMPONENT dev - ) + INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" +) file(GLOB _plugin_sources src/components/*.cpp) gaudi_add_module(k4ActsTrackingPlugins