Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:X11:common:Factory
exiv2
exiv2-cmake-installdir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File exiv2-cmake-installdir.patch of Package exiv2
From 4be037d0c3f153b2eeeba07b4f58c8d4b9f2543d Mon Sep 17 00:00:00 2001 From: Andreas Schneider <asn@cryptomilk.org> Date: Wed, 2 Jan 2019 10:28:57 +0100 Subject: [PATCH] cmake: Use correct installation dirs for doc and cmake configs Fixes #623 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> --- cmake/generateDoc.cmake | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/generateDoc.cmake b/cmake/generateDoc.cmake index a3aea727..16823946 100644 --- a/cmake/generateDoc.cmake +++ b/cmake/generateDoc.cmake @@ -21,7 +21,7 @@ macro(generate_documentation DOX_CONFIG_FILE) set(DOXY_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/doxy.config") add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${DOXY_CONFIG}) - install(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/" DESTINATION "share/doc/lib${PROJECT_NAME}") + install(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/" DESTINATION ${CMAKE_INSTALL_DOCDIR}) set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES doc) endmacro() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index adb285b1..4a05ee4f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -234,7 +234,7 @@ install(FILES ${CMAKE_BINARY_DIR}/exiv2lib_export.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/exiv2) -install(EXPORT exiv2Config DESTINATION "share/exiv2/cmake") +install(EXPORT exiv2Config DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/exiv2") # ****************************************************************************** # exiv2 application -- 2.20.1
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