From 1f82d3ddbbc8d7debda4e32788979df6af851dda Mon Sep 17 00:00:00 2001 From: tmadlener Date: Thu, 11 Jan 2024 10:51:49 +0100 Subject: [PATCH] Update CMake config template to work with new sio packaging --- cmake/LCIOConfig.cmake.in | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmake/LCIOConfig.cmake.in b/cmake/LCIOConfig.cmake.in index e1b545636..ef304a1d6 100644 --- a/cmake/LCIOConfig.cmake.in +++ b/cmake/LCIOConfig.cmake.in @@ -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