Skip to content

Commit

Permalink
fix: target_link_libraries
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Kalinkin <[email protected]>
  • Loading branch information
wdconinc and veprbl authored Oct 18, 2023
1 parent 0403edd commit 55a85d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ if (${USE_PODIO})
find_package(podio REQUIRED)
add_compile_definitions(HAVE_PODIO)
include_directories(SYSTEM ${podio_INCLUDE_DIR})
link_libraries(podio::podio podio::podioRootIO)
target_link_libraries(jana2_shared_lib podio::podio podio::podioRootIO)
endif()

#---------
Expand Down

0 comments on commit 55a85d3

Please sign in to comment.