From 585fa8060f5f60470a01f078641d46e6c69910af Mon Sep 17 00:00:00 2001 From: Roy Sindre Norangshol Date: Fri, 7 Dec 2012 19:15:44 +0100 Subject: [PATCH] Fixes cmake file for finding CLucene libraries on systems supporting multiarch Debian and Ubuntu switching to support multiarch, libraries gets installed under /usr/lib/{multiarch-triplet}. ie: /usr/lib/x86_64-linux-gnu . See http://public.kitware.com/Bug/view.php?id=12037 for a like-wise bug with good details. --- CMakeModules/FindCLucene.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeModules/FindCLucene.cmake b/CMakeModules/FindCLucene.cmake index 8b9311f13..873693d8c 100644 --- a/CMakeModules/FindCLucene.cmake +++ b/CMakeModules/FindCLucene.cmake @@ -41,6 +41,7 @@ SET(TRIAL_LIBRARY_PATHS /sw/lib${LIB_SUFFIX} /usr/pkg/lib${LIB_SUFFIX} /usr/lib64 + /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE} ) SET(TRIAL_INCLUDE_PATHS $ENV{CLUCENE_HOME}/include