Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ include(cmake/build_flags.cmake)
k4edm4hep2lcioconv_set_linker_flags()
find_package(LCIO 2.22 REQUIRED)
find_package(podio 1.0 REQUIRED)
find_package(EDM4HEP 0.99 REQUIRED)
find_package(EDM4HEP 1.0)
if (NOT EDM4HEP_FOUND)
find_package(EDM4HEP 0.99 REQUIRED)
endif()
find_package(ROOT REQUIRED COMPONENTS MathCore)

add_subdirectory(k4EDM4hep2LcioConv)
Expand Down
4 changes: 2 additions & 2 deletions cmake/k4EDM4hep2LcioConvConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ set(k4EDM4hep2LcioConv_VERSION "@PROJECT_VERSION@")
set_and_check(k4EDM4hep2LcioConv_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")

include(CMakeFindDependencyMacro)
find_dependency(LCIO REQUIRED)
find_dependency(EDM4HEP REQUIRED)
find_dependency(LCIO @LCIO_VERSION@ REQUIRED)
find_dependency(EDM4HEP @EDM4HEP_VERSION@ REQUIRED)

# - Include the targets file to create the imported targets that a client can
# link to (libraries) or execute (programs)
Expand Down
Loading