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