Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fredevb committed Jul 27, 2024
1 parent e33c6e3 commit b1d25d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Plugins/Traccc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ target_link_libraries(
ActsPluginTraccc
PUBLIC
ActsCore
traccc_all
traccc::traccc
vecmem::core
detray::utils
detray::io
Expand Down
6 changes: 4 additions & 2 deletions thirdparty/traccc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@ set( TRACCC_BUILD_EXAMPLES OFF CACHE BOOL
# Now set up its build.
FetchContent_MakeAvailable( traccc )

add_library(traccc_all INTERFACE)
target_link_libraries(traccc_all INTERFACE traccc::core traccc::io)
add_library(traccc::traccc INTERFACE IMPORTED GLOBAL)
add_dependencies(traccc::traccc traccc)
target_include_directories(traccc::traccc INTERFACE ${traccc_INCLUDE_DIR})
install(DIRECTORY ${traccc_INCLUDE_DIR}/traccc DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

0 comments on commit b1d25d1

Please sign in to comment.