* All tools:

- Change: Adds ${LIB_SUFFIX} to all library search paths.
This commit is contained in:
Jean-Paul Chaput 2010-05-19 14:31:01 +00:00
parent c5b8635126
commit b9a97023d5
2 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ FIND_PROGRAM(FLEX_EXECUTABLE flex DOC "path to the flex executable")
MARK_AS_ADVANCED(FLEX_EXECUTABLE) MARK_AS_ADVANCED(FLEX_EXECUTABLE)
FIND_LIBRARY(FL_LIBRARY NAMES fl FIND_LIBRARY(FL_LIBRARY NAMES fl
PATHS /usr/lib DOC "path to the fl library") PATHS /usr/lib${LIB_SUFFIX} DOC "path to the fl library")
SET(FLEX_LIBRARIES ${FL_LIBRARY}) SET(FLEX_LIBRARIES ${FL_LIBRARY})
IF(FLEX_EXECUTABLE) IF(FLEX_EXECUTABLE)

View File

@ -95,7 +95,7 @@ IF(UNIX)
FIND_LIBRARY(HURRICANE_LIBRARY_PATH FIND_LIBRARY(HURRICANE_LIBRARY_PATH
NAMES hurricane NAMES hurricane
PATHS ${CORIOLIS_DIR_SEARCH} PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib PATH_SUFFIXES lib${LIB_SUFFIX}
# Help the user find it if we cannot. # Help the user find it if we cannot.
DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}" DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}"
) )
@ -111,7 +111,7 @@ IF(UNIX)
FIND_LIBRARY(HURRICANE_VIEWER_LIBRARY_PATH FIND_LIBRARY(HURRICANE_VIEWER_LIBRARY_PATH
NAMES viewer NAMES viewer
PATHS ${CORIOLIS_DIR_SEARCH} PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib PATH_SUFFIXES lib${LIB_SUFFIX}
# Help the user find it if we cannot. # Help the user find it if we cannot.
DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}" DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}"
) )
@ -127,7 +127,7 @@ IF(UNIX)
FIND_LIBRARY(HURRICANE_PYTHON_LIBRARY_PATH FIND_LIBRARY(HURRICANE_PYTHON_LIBRARY_PATH
NAMES isobar NAMES isobar
PATHS ${CORIOLIS_DIR_SEARCH} PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib PATH_SUFFIXES lib${LIB_SUFFIX}
# Help the user find it if we cannot. # Help the user find it if we cannot.
DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}" DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}"
) )