From 2037182985950ac0617dc949929a4c9807f1476f Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 19 May 2010 14:31:06 +0000 Subject: [PATCH] * All tools: - Change: Adds ${LIB_SUFFIX} to all library search paths. --- knik/cmake_modules/FindKNIK.cmake | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/knik/cmake_modules/FindKNIK.cmake b/knik/cmake_modules/FindKNIK.cmake index 14bfc3ee..57354451 100644 --- a/knik/cmake_modules/FindKNIK.cmake +++ b/knik/cmake_modules/FindKNIK.cmake @@ -26,15 +26,7 @@ IF(UNIX) FIND_LIBRARY(KNIK_LIBRARY_PATH NAMES knik PATHS ${CORIOLIS_DIR_SEARCH} - PATH_SUFFIXES lib - # Help the user find it if we cannot. - DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}" - ) - - FIND_LIBRARY(KNIK_STATIC_LIBRARY_PATH - NAMES knik-static - PATHS ${CORIOLIS_DIR_SEARCH} - PATH_SUFFIXES lib + PATH_SUFFIXES lib${LIB_SUFFIX} # Help the user find it if we cannot. DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}" ) @@ -42,15 +34,7 @@ IF(UNIX) FIND_LIBRARY(FLUTE_LIBRARY_PATH NAMES flute PATHS ${CORIOLIS_DIR_SEARCH} - PATH_SUFFIXES lib - # Help the user find it if we cannot. - DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}" - ) - - FIND_LIBRARY(FLUTE_STATIC_LIBRARY_PATH - NAMES flute-static - PATHS ${CORIOLIS_DIR_SEARCH} - PATH_SUFFIXES lib + PATH_SUFFIXES lib${LIB_SUFFIX} # Help the user find it if we cannot. DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}" )