mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
added "mac ports" path
This commit is contained in:
@@ -20,9 +20,10 @@ MESSAGE(STATUS "** Searching for library: FriBiDi...")
|
|||||||
# Set variable in temp var, otherwise FIND_PATH might fail
|
# Set variable in temp var, otherwise FIND_PATH might fail
|
||||||
# unset isn't present in the required version of cmake.
|
# unset isn't present in the required version of cmake.
|
||||||
FIND_PATH(xFRIBIDI_INCLUDE_DIR fribidi.h
|
FIND_PATH(xFRIBIDI_INCLUDE_DIR fribidi.h
|
||||||
/usr/local/include/fribidi
|
/usr/local/include/fribidi
|
||||||
/usr/include/fribidi
|
/usr/include/fribidi
|
||||||
)
|
/opt/local/include/fribidi
|
||||||
|
)
|
||||||
set(FRIBIDI_INCLUDE_DIR ${xFRIBIDI_INCLUDE_DIR})
|
set(FRIBIDI_INCLUDE_DIR ${xFRIBIDI_INCLUDE_DIR})
|
||||||
|
|
||||||
SET(FRIBIDI_NAMES ${FRIBIDI_NAMES} fribidi libfribidi)
|
SET(FRIBIDI_NAMES ${FRIBIDI_NAMES} fribidi libfribidi)
|
||||||
@@ -35,8 +36,10 @@ ENDIF()
|
|||||||
MESSAGE(STATUS "** Searching for library names: [${FRIBIDI_NAMES}] ...")
|
MESSAGE(STATUS "** Searching for library names: [${FRIBIDI_NAMES}] ...")
|
||||||
|
|
||||||
FIND_LIBRARY(FRIBIDI_LIBRARY
|
FIND_LIBRARY(FRIBIDI_LIBRARY
|
||||||
NAMES ${FRIBIDI_NAMES}
|
NAMES ${FRIBIDI_NAMES}
|
||||||
PATHS /usr/lib /usr/local/lib
|
PATHS /usr/lib
|
||||||
|
/usr/local/lib
|
||||||
|
/opt/local/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
IF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR)
|
IF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR)
|
||||||
|
Reference in New Issue
Block a user