From 0111e2f559d2e616bb05a776d8f23df564686324 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 19 May 2010 14:31:10 +0000 Subject: [PATCH] * All tools: - Change: Adds ${LIB_SUFFIX} to all library search paths. --- kite/cmake_modules/FindKITE.cmake | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/kite/cmake_modules/FindKITE.cmake b/kite/cmake_modules/FindKITE.cmake index 3093cbe7..d5a7a3fb 100644 --- a/kite/cmake_modules/FindKITE.cmake +++ b/kite/cmake_modules/FindKITE.cmake @@ -26,15 +26,7 @@ IF(UNIX) FIND_LIBRARY(KITE_LIBRARY_PATH NAMES kite PATHS ${CORIOLIS_DIR_SEARCH} - PATH_SUFFIXES lib - # Help the user find it if we cannot. - DOC "The ${KITE_INCLUDE_PATH_DESCRIPTION}" - ) - - FIND_LIBRARY(KITE_STATIC_LIBRARY_PATH - NAMES kite-static - PATHS ${CORIOLIS_DIR_SEARCH} - PATH_SUFFIXES lib + PATH_SUFFIXES lib${LIB_SUFFIX} # Help the user find it if we cannot. DOC "The ${KITE_INCLUDE_PATH_DESCRIPTION}" )