]> git.pld-linux.org Git - packages/exiv2.git/blob - exiv2-no-xmpsdk-install.patch
67c64f46e3bc8302c9f38a987afdec77872413cb
[packages/exiv2.git] / exiv2-no-xmpsdk-install.patch
1 We package shared, not static libexiv2 library, so libexiv2-xmp.a is useless.
2 --- exiv2-0.27.4-Source/xmpsdk/CMakeLists.txt.orig      2021-08-18 17:34:28.084628433 +0200
3 +++ exiv2-0.27.4-Source/xmpsdk/CMakeLists.txt   2021-08-18 17:35:29.887626951 +0200
4 @@ -48,10 +48,3 @@ endif()
5  if (BUILD_SHARED_LIBS)
6      set_property(TARGET exiv2-xmp PROPERTY POSITION_INDEPENDENT_CODE ON)
7  endif()
8 -
9 -# The private dependencies of a static library still need to be exported because they are needed to properly link the consumers of the static library.
10 -install(TARGETS exiv2-xmp EXPORT exiv2Config   
11 -    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}        
12 -    ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}        
13 -    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
14 -)
15 --- exiv2-0.28.0-Source/src/CMakeLists.txt.orig 2023-05-08 18:01:13.000000000 +0200
16 +++ exiv2-0.28.0-Source/src/CMakeLists.txt      2023-07-25 21:19:24.740194972 +0200
17 @@ -189,7 +189,6 @@ endif()
18  
19  if (EXIV2_ENABLE_XMP)
20      target_link_libraries(exiv2lib PRIVATE exiv2-xmp)
21 -    list(APPEND libs_private_list "exiv2-xmp")
22  elseif(EXIV2_ENABLE_EXTERNAL_XMP)
23      target_link_libraries(exiv2lib PUBLIC ${XMPSDK_LIBRARY})
24      target_include_directories(exiv2lib PUBLIC ${XMPSDK_INCLUDE_DIR})
This page took 0.019095 seconds and 2 git commands to generate.