From 5bd3f308bb9d239fdc184660f1c7efea93885625 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sun, 28 Nov 2021 13:24:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D0=BE=D0=B9=20DEB=5FHOST=5FMULTIARCH?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMLibCommon.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMLibCommon.cmake b/CMLibCommon.cmake index 53d088d..b8a00e0 100644 --- a/CMLibCommon.cmake +++ b/CMLibCommon.cmake @@ -13,7 +13,9 @@ include(CMLibDisableInSourceBuild) include(CMakeParseArguments) include(GNUInstallDirs) if(DEFINED ENV{DEB_HOST_MULTIARCH}) - string(APPEND CMAKE_INSTALL_LIBDIR "/$ENV{DEB_HOST_MULTIARCH}") + if(NOT CMAKE_INSTALL_LIBDIR MATCHES $ENV{DEB_HOST_MULTIARCH}) + string(APPEND CMAKE_INSTALL_LIBDIR "/$ENV{DEB_HOST_MULTIARCH}") + endif() endif() set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${CMAKE_CXX_SOURCE_FILE_EXTENSIONS};tpp;tcc)