* All tools:

- Change: Adds ${LIB_SUFFIX} to all library search paths.
This commit is contained in:
Jean-Paul Chaput 2010-05-19 14:31:06 +00:00
parent 82f9c8dc07
commit 2037182985
1 changed files with 2 additions and 18 deletions

View File

@ -26,15 +26,7 @@ IF(UNIX)
FIND_LIBRARY(KNIK_LIBRARY_PATH FIND_LIBRARY(KNIK_LIBRARY_PATH
NAMES knik NAMES knik
PATHS ${CORIOLIS_DIR_SEARCH} 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}"
)
FIND_LIBRARY(KNIK_STATIC_LIBRARY_PATH
NAMES knik-static
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib
# Help the user find it if we cannot. # Help the user find it if we cannot.
DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}" DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}"
) )
@ -42,15 +34,7 @@ IF(UNIX)
FIND_LIBRARY(FLUTE_LIBRARY_PATH FIND_LIBRARY(FLUTE_LIBRARY_PATH
NAMES flute NAMES flute
PATHS ${CORIOLIS_DIR_SEARCH} 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}"
)
FIND_LIBRARY(FLUTE_STATIC_LIBRARY_PATH
NAMES flute-static
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib
# Help the user find it if we cannot. # Help the user find it if we cannot.
DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}" DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}"
) )