Files
influxdb-cxx/0001-Allow-setting-CMAKE_INSTALL_LIBDIR-from-command-line.patch

29 lines
923 B
Diff
Raw Permalink Normal View History

From 7bed4d74a534049bc249b3df62627adbb593f8dc Mon Sep 17 00:00:00 2001
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
Date: Fri, 10 Sep 2021 17:29:09 +0000
Subject: [PATCH] Allow setting CMAKE_INSTALL_LIBDIR from command line
Some distros really need lib64 at 64bit architectures. Make it possible to
override the variable through cmake command line.
---
CMakeLists.txt | 3 ---
1 file changed, 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 393973d..58e5100 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,9 +55,6 @@ include(GenerateExportHeader)
# Set fPIC for all targets
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
-# Set CMAKE_INSTALL_LIBDIR explicitly to lib (to avoid lib64 on CC7)
-set(CMAKE_INSTALL_LIBDIR lib)
-
# Set the default build type to "RelWithDebInfo"
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE "RelWithDebInfo"
--
2.31.1