Fix #1484: search gettext subdir for header

On some systems, such as NetBSD, the gettext header is tucked under the
gettext directory in the system include area.  Let's add a path suffix
to ensure we correctly discover the header on such systems.
This commit is contained in:
John Szakmeister
2014-11-17 19:30:07 -05:00
parent b2b9333179
commit 369045cf05

View File

@@ -23,6 +23,7 @@ endif()
find_path(LibIntl_INCLUDE_DIR find_path(LibIntl_INCLUDE_DIR
NAMES libintl.h NAMES libintl.h
PATH_SUFFIXES gettext
) )
find_library(LibIntl_LIBRARY find_library(LibIntl_LIBRARY