mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
a49cf51269
* build: require unibilium>=2.0
This also ports FindUnibilium to LibFindMacros, which was planned
anyway, and makes the version check easier.
With an older Unibilium our fallback code in `terminfo_from_builtin`
will not work (because it assumes the new data structures from 2.0.0 [1]),
and nvim would crash later because of `ut` being NUL.
1: 42f3cdd284
13 lines
363 B
CMake
13 lines
363 B
CMake
# - Try to find unibilium
|
|
# Once done this will define
|
|
# UNIBILIUM_FOUND - System has unibilium
|
|
# UNIBILIUM_INCLUDE_DIRS - The unibilium include directories
|
|
# UNIBILIUM_LIBRARIES - The libraries needed to use unibilium
|
|
|
|
include(LibFindMacros)
|
|
|
|
libfind_pkg_detect(UNIBILIUM unibilium
|
|
FIND_PATH unibilium.h
|
|
FIND_LIBRARY unibilium)
|
|
libfind_process(UNIBILIUM)
|