Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:X11:common:Factory
exiv2
0001-Don-t-install-static-lib.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Don-t-install-static-lib.patch of Package exiv2
From 3cbc5f239c83ac493568a87c46dbb876deedc414 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer <wbauer@tmo.at> Date: Fri, 11 Jan 2019 13:59:16 +0100 Subject: [PATCH] Don't install static lib --- src/CMakeLists.txt | 2 +- xmpsdk/CMakeLists.txt | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6418bbd2..47b5a068 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -147,7 +147,7 @@ target_include_directories(exiv2lib_int PRIVATE ${ZLIB_INCLUDE_DIR}) target_include_directories(exiv2lib PRIVATE ${ZLIB_INCLUDE_DIR}) if (EXIV2_ENABLE_XMP) - target_link_libraries(exiv2lib PUBLIC exiv2-xmp) + target_link_libraries(exiv2lib PRIVATE exiv2-xmp) elseif(EXIV2_ENABLE_EXTERNAL_XMP) target_link_libraries(exiv2lib PUBLIC ${XMPSDK_LIBRARY}) target_include_directories(exiv2lib PUBLIC ${XMPSDK_INCLUDE_DIR}) diff --git a/xmpsdk/CMakeLists.txt b/xmpsdk/CMakeLists.txt index ae011dc3..867e352b 100644 --- a/xmpsdk/CMakeLists.txt +++ b/xmpsdk/CMakeLists.txt @@ -54,9 +54,3 @@ endif() if (BUILD_SHARED_LIBS) set_property(TARGET exiv2-xmp PROPERTY POSITION_INDEPENDENT_CODE ON) endif() - -# 1119 Install libxmp.a for use by third party applications (Thanks, Emmanuel) -install(TARGETS exiv2-xmp EXPORT exiv2Config - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -) -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor