CMake/fltk-config: update fltk-config (LDFLAGS) for MacOS.
This is a preliminary patch to enable linking with pango on MacOS when fltk-config is used. A better solution is under development. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
bdb63b3f07
commit
e0a15603dd
@ -488,6 +488,9 @@ if(X11_Xft_FOUND AND OPTION_USE_PANGO)
|
|||||||
endif(NOT GLIB_H_PATH)
|
endif(NOT GLIB_H_PATH)
|
||||||
include_directories(${PANGO_H_PREFIX}/pango-1.0 ${GLIB_H_PATH} ${PANGOLIB_DIR}/glib-2.0/include)
|
include_directories(${PANGO_H_PREFIX}/pango-1.0 ${GLIB_H_PATH} ${PANGOLIB_DIR}/glib-2.0/include)
|
||||||
list(APPEND FLTK_LDLIBS -lpango-1.0 -lpangoxft-1.0 -lgobject-2.0)
|
list(APPEND FLTK_LDLIBS -lpango-1.0 -lpangoxft-1.0 -lgobject-2.0)
|
||||||
|
if (APPLE)
|
||||||
|
set (LDFLAGS "${LDFLAGS} -L/sw/lib")
|
||||||
|
endif (APPLE)
|
||||||
endif(HAVE_LIB_PANGO AND HAVE_LIB_PANGOXFT AND HAVE_LIB_GOBJECT)
|
endif(HAVE_LIB_PANGO AND HAVE_LIB_PANGOXFT AND HAVE_LIB_GOBJECT)
|
||||||
endif(X11_Xft_FOUND AND OPTION_USE_PANGO)
|
endif(X11_Xft_FOUND AND OPTION_USE_PANGO)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user