29 lines
893 B
Diff
29 lines
893 B
Diff
From fcdcf1945f0325c8dfdcdfa03ae8af5247602e6e Mon Sep 17 00:00:00 2001
|
|
From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
|
|
Date: Wed, 2 Jul 2014 17:20:57 +0200
|
|
Subject: [PATCH] enable multiarch lib location
|
|
References: https://github.com/luceneplusplus/LucenePlusPlus/commit/4c533e7f87ce6032284c44d12e022dc2498b49df
|
|
Uptream: committed
|
|
|
|
Cherry picked from ubuntu lucene++ package
|
|
---
|
|
CMakeLists.txt | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 6ae96b7..4b74427 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -75,9 +75,10 @@ set(lucene_boost_libs
|
|
|
|
include(Lucene++Docs)
|
|
include(TestCXXAcceptsFlag)
|
|
+include(GNUInstallDirs)
|
|
|
|
set(LIB_DESTINATION
|
|
- "lib" CACHE STRING "Define lib output directory name"
|
|
+ "${CMAKE_INSTALL_FULL_LIBDIR}" CACHE STRING "Define lib output directory name"
|
|
)
|
|
|
|
if(ENABLE_CYCLIC_CHECK)
|