mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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:
@@ -23,6 +23,7 @@ endif()
|
||||
|
||||
find_path(LibIntl_INCLUDE_DIR
|
||||
NAMES libintl.h
|
||||
PATH_SUFFIXES gettext
|
||||
)
|
||||
|
||||
find_library(LibIntl_LIBRARY
|
||||
|
||||
Reference in New Issue
Block a user