Restore CMake support of Darwin + XQuartz + fink
This commit is contained in:
parent
98f16ae397
commit
8c6f1b8ece
@ -467,8 +467,10 @@ endif (OPTION_USE_PANGO)
|
||||
if(X11_Xft_FOUND AND OPTION_USE_PANGO)
|
||||
#this covers Debian, Ubuntu, FreeBSD, NetBSD, Darwin
|
||||
if(APPLE AND OPTION_APPLE_X11)
|
||||
list(APPEND CMAKE_INCLUDE_PATH /sw/include)
|
||||
list(APPEND CMAKE_LIBRARY_PATH /sw/lib)
|
||||
find_file(FINK_PREFIX NAMES /opt/sw /sw)
|
||||
list(APPEND CMAKE_INCLUDE_PATH ${FINK_PREFIX}/include)
|
||||
list(APPEND CMAKE_LIBRARY_PATH /${FINK_PREFIX}/lib)
|
||||
list (APPEND FLTK_CXXFLAGS "-stdlib=libc++")
|
||||
endif(APPLE AND OPTION_APPLE_X11)
|
||||
find_file(HAVE_PANGO_H pango-1.0/pango/pango.h ${CMAKE_INCLUDE_PATH})
|
||||
find_file(HAVE_PANGOXFT_H pango-1.0/pango/pangoxft.h ${CMAKE_INCLUDE_PATH})
|
||||
|
Loading…
Reference in New Issue
Block a user