Skip to content

Commit

Permalink
Change LCIO_LIBRARIES to LCIO::lcio
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jan 13, 2024
1 parent f29efad commit c15cc50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion k4EDM4hep2LcioConv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ target_include_directories(k4EDM4hep2LcioConv PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)

target_link_libraries(k4EDM4hep2LcioConv PUBLIC
${LCIO_LIBRARIES}
LCIO::lcio
EDM4HEP::edm4hep)

set(public_headers
Expand Down
6 changes: 3 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
add_library(edmCompare SHARED src/CompareEDM4hepLCIO.cc src/ObjectMapping.cc src/CompareEDM4hepEDM4hep.cc)
target_link_libraries(edmCompare PUBLIC EDM4HEP::edm4hep ${LCIO_LIBRARIES})
target_link_libraries(edmCompare PUBLIC EDM4HEP::edm4hep LCIO::lcio)
target_include_directories(edmCompare PUBLIC ${LCIO_INCLUDE_DIRS})

add_library(TestUtils SHARED src/EDM4hep2LCIOUtilities.cc)
target_link_libraries(TestUtils PUBLIC EDM4HEP::edm4hep ${LCIO_LIBRARIES})
target_link_libraries(TestUtils PUBLIC EDM4HEP::edm4hep LCIO::lcio)
target_include_directories(TestUtils PUBLIC ${LCIO_INCLUDE_DIRS})

add_executable(compare-contents compare_contents.cpp)
Expand All @@ -26,7 +26,7 @@ target_include_directories(edm4hep_roundtrip PRIVATE
add_test(NAME edm4hep_roundtrip COMMAND edm4hep_roundtrip)

include(ExternalData)
list(APPEND ExternalData_URL_TEMPLATES
set(ExternalData_URL_TEMPLATES
"https://key4hep.web.cern.ch:443/testFiles/k4EDM4hep2LcioConv/%(hash)"
)

Expand Down

0 comments on commit c15cc50

Please sign in to comment.