From 369045cf05e99e6c8cf8a662b54eb8121a370932 Mon Sep 17 00:00:00 2001 From: John Szakmeister Date: Mon, 17 Nov 2014 19:30:07 -0500 Subject: [PATCH] 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. --- cmake/FindLibIntl.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/FindLibIntl.cmake b/cmake/FindLibIntl.cmake index 893e4db8d5..75926200c1 100644 --- a/cmake/FindLibIntl.cmake +++ b/cmake/FindLibIntl.cmake @@ -23,6 +23,7 @@ endif() find_path(LibIntl_INCLUDE_DIR NAMES libintl.h + PATH_SUFFIXES gettext ) find_library(LibIntl_LIBRARY