aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-11-17 19:30:07 -0500
committerJohn Szakmeister <john@szakmeister.net>2014-11-17 19:31:48 -0500
commit369045cf05e99e6c8cf8a662b54eb8121a370932 (patch)
treecf5d3383a762dbb9aabaf1092cf8a5d699e01c42
parentb2b9333179e8000e366576972d591af3f8da1730 (diff)
downloadrneovim-369045cf05e99e6c8cf8a662b54eb8121a370932.tar.gz
rneovim-369045cf05e99e6c8cf8a662b54eb8121a370932.tar.bz2
rneovim-369045cf05e99e6c8cf8a662b54eb8121a370932.zip
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.
-rw-r--r--cmake/FindLibIntl.cmake1
1 files changed, 1 insertions, 0 deletions
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