1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

look for OS X Homebrew gettext

This commit is contained in:
John Hewson 2013-01-25 00:53:48 +00:00
parent b554fa6573
commit a225ea3e13

View File

@ -51,7 +51,7 @@ else()
include_directories(${FONTFORGE_INCLUDE_DIRS}) include_directories(${FONTFORGE_INCLUDE_DIRS})
# MacOSX gettext is in /opt/local/include - strange # MacOSX gettext is in /opt/local/include - strange
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
find_path(GETTEXT_INCLUDE_PATH libintl.h) find_path(GETTEXT_INCLUDE_PATH libintl.h HINTS "/usr/local/opt/gettext/include") # homebrew
if(GETTEXT_INCLUDE_PATH) if(GETTEXT_INCLUDE_PATH)
include_directories(${GETTEXT_INCLUDE_PATH}) include_directories(${GETTEXT_INCLUDE_PATH})
else() else()