mirror of
https://github.com/neovim/neovim.git
synced 2025-11-05 02:04:29 +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
|
find_path(LibIntl_INCLUDE_DIR
|
||||||
NAMES libintl.h
|
NAMES libintl.h
|
||||||
|
PATH_SUFFIXES gettext
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LibIntl_LIBRARY
|
find_library(LibIntl_LIBRARY
|
||||||
|
|||||||
Reference in New Issue
Block a user