Rex Dieter 08a914e
diff -up exiv2-0.25/CMakeLists.txt.cmake_LIB_SUFFIX exiv2-0.25/CMakeLists.txt
Rex Dieter 08a914e
--- exiv2-0.25/CMakeLists.txt.cmake_LIB_SUFFIX	2015-06-15 10:32:21.000000000 -0500
Rex Dieter 08a914e
+++ exiv2-0.25/CMakeLists.txt	2015-06-22 08:48:19.486245765 -0500
Rex Dieter 08a914e
@@ -25,7 +25,7 @@ if( POLICY CMP0042 )
Rex Dieter 08a914e
 else()
Rex Dieter 08a914e
     SET(CMAKE_MACOSX_RPATH 1)
Rex Dieter 08a914e
 endif()
Rex Dieter 08a914e
-SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
Rex Dieter 08a914e
+#SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
Rex Dieter 08a914e
 
Rex Dieter 08a914e
 
Rex Dieter 08a914e
 SET( PACKAGE_COPYRIGHT      "Andreas Huggel" )
Rex Dieter 08a914e
@@ -156,10 +156,10 @@ INCLUDE( config/CMakeChecks.txt )
Rex Dieter 2a35bc8
 
Rex Dieter 2a35bc8
 SET( INSTALL_TARGET_STANDARD_ARGS
Rex Dieter 2a35bc8
      RUNTIME DESTINATION bin
Rex Dieter 2a35bc8
-     LIBRARY DESTINATION lib
Rex Dieter 2a35bc8
-     ARCHIVE DESTINATION lib
Rex Dieter 2a35bc8
+     LIBRARY DESTINATION lib${LIB_SUFFIX}
Rex Dieter 2a35bc8
+     ARCHIVE DESTINATION lib${LIB_SUFFIX}
Rex Dieter 2a35bc8
 )
Rex Dieter 08a914e
-SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
Rex Dieter 08a914e
+#SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
Rex Dieter 2a35bc8
 
Rex Dieter 2a35bc8
 ##
Rex Dieter 08a914e
 # add sources from XMPSDK directory
Rex Dieter 08a914e
diff -up exiv2-0.25/config/CMakeChecks.txt.cmake_LIB_SUFFIX exiv2-0.25/config/CMakeChecks.txt
Rex Dieter 08a914e
--- exiv2-0.25/config/CMakeChecks.txt.cmake_LIB_SUFFIX	2015-04-30 10:31:18.000000000 -0500
Rex Dieter 08a914e
+++ exiv2-0.25/config/CMakeChecks.txt	2015-06-22 08:41:22.913094633 -0500
Rex Dieter 08a914e
@@ -291,9 +291,9 @@ ADD_CUSTOM_TARGET(uninstall "${CMAKE_COM
Rex Dieter 2a35bc8
 
Rex Dieter 2a35bc8
 IF( NOT MSVC )
Rex Dieter 2a35bc8
     CONFIGURE_FILE( config/exiv2.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc @ONLY )
Rex Dieter 2a35bc8
-    INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc DESTINATION lib/pkgconfig )
Rex Dieter 2a35bc8
+    INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig )
Rex Dieter 2a35bc8
     CONFIGURE_FILE( config/exiv2.lsm.cmake ${CMAKE_CURRENT_BINARY_DIR}/exiv2.lsm)
Rex Dieter 2a35bc8
-    INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2.lsm DESTINATION lib/pkgconfig )
Rex Dieter 2a35bc8
+    INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2.lsm DESTINATION lib${LIB_SUFFIX}/pkgconfig )
Rex Dieter 2a35bc8
 ENDIF( NOT MSVC )
Rex Dieter 2a35bc8
 
Rex Dieter 2a35bc8
 # ******************************************************************************