nixpkgs/pkgs/development/libraries/exiv2/fix-cmake.patch
worldofpeace cb77f7e227 exiv2: 0.26.2018.12.30 -> 0.27.1
Also run tests and remove additionally installed stuff.

Co-authored-by: periklis <periklis.tsirakidis@holidaycheck.com>
Co-authored-by: vcunat <vcunat@gmail.com>
2019-06-27 03:16:46 -04:00

16 lines
769 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 34087004..41b3a068 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -239,9 +239,9 @@ install(FILES
${CMAKE_BINARY_DIR}/exiv2lib_export.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/exiv2)
-install(EXPORT exiv2Config DESTINATION "${CMAKE_INSTALL_LIBDIR}/exiv2/cmake")
+install(EXPORT exiv2Config DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/exiv2")
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2ConfigVersion.cmake DESTINATION "${CMAKE_INSTALL_LIBDIR}/exiv2/cmake")
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2ConfigVersion.cmake DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/exiv2")
# ******************************************************************************
# exiv2 application