From 5c3a7dec3adc0eaa9c01c21ca7b8faae88959ae8 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 5 Sep 2024 19:02:33 +0200 Subject: [PATCH] Remove private dependencies from the cmake config file Forwarded: no Last-Update: 2023-11-15 The cmake config file requires the private dependencies used by exiv2; since those are needed only for static linking, and that there are no static libraries, simply stop requiring them in the cmake config file. Gbp-Pq: Name cmake-no-private.diff --- cmake/exiv2Config.cmake.in | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmake/exiv2Config.cmake.in b/cmake/exiv2Config.cmake.in index c9e2eba..eabe3f4 100644 --- a/cmake/exiv2Config.cmake.in +++ b/cmake/exiv2Config.cmake.in @@ -3,14 +3,6 @@ cmake_minimum_required(VERSION 3.5) include(CMakeFindDependencyMacro) -if(@EXIV2_ENABLE_PNG@) # if(EXIV2_ENABLE_PNG) - find_dependency(ZLIB REQUIRED) -endif() - -if(@EXIV2_ENABLE_XMP@) # if(EXIV2_ENABLE_XMP) - find_dependency(EXPAT REQUIRED) -endif() - include("${CMAKE_CURRENT_LIST_DIR}/exiv2Export.cmake") check_required_components(exiv2) -- 2.30.2