Skip to content

Commit

Permalink
Update CMake config template to work with new sio packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jan 11, 2024
1 parent 0ddf27e commit 1f82d3d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cmake/LCIOConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,7 @@ CHECK_PACKAGE_LIBS( LCIO lcio @CHECK_PACKAGE_SIO_LIBRARY@ )


include(CMakeFindDependencyMacro)
if("@CHECK_PACKAGE_SIO_LIBRARY@" STREQUAL "")
find_dependency(SIO REQUIRED)
else()
find_dependency(ZLIB REQUIRED)
include("${CMAKE_CURRENT_LIST_DIR}/SIOTargets.cmake")
endif()
find_dependency(SIO @SIO_VERSION@)

# Include the targets file to create the imported targets that a client can link
# to or execute
Expand Down

0 comments on commit 1f82d3d

Please sign in to comment.