blob: 08a58f1755428f2033126351c553b49b6b85e492 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 36d87919223db9b054862ad38cdda8d9222a2bab Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:04:35 +0200
4Subject: [PATCH 1/4] Correctly set the library installation directory
5
Brad Bishopd7bf8c12018-02-25 22:55:05 -05006Upstream-Status: Submitted [https://github.com/rpm-software-management/librepo/pull/110]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05007Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 librepo/CMakeLists.txt | 3 ++-
10 1 file changed, 2 insertions(+), 1 deletion(-)
11
12diff --git a/librepo/CMakeLists.txt b/librepo/CMakeLists.txt
13index 2fe76d8..5026def 100644
14--- a/librepo/CMakeLists.txt
15+++ b/librepo/CMakeLists.txt
16@@ -60,7 +60,8 @@ CONFIGURE_FILE("version.h.in" "${CMAKE_CURRENT_SOURCE_DIR}/version.h" @ONLY)
17 IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
18 SET (LIB_SUFFIX "64")
19 ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8")
20-SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
21+#SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
22+SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}")
23
24 INSTALL(FILES ${librepo_HEADERS} DESTINATION include/librepo)
25 INSTALL(TARGETS librepo LIBRARY DESTINATION ${LIB_INSTALL_DIR})
26--
272.11.0
28