mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Require pkg-config to build bundled libtermkey #2606
Libtermkey can be linked against unibilium or curses. For the bundled dependencies Neovim links against static versions of libtermkey and unibilium, after building both libraries. However libtermkey requires pkg-config to be installed in order to detect and link against unibilium, otherwise it falls back to curses by default. In systems where pkg-config is not installed building Neovim against the bundled libtermkey caused a linking error (#2484). So pkg-config needs to be installed for the bundled libtermkey to build properly.
This commit is contained in:
parent
de58eafd11
commit
1721e115b4
2
third-party/cmake/BuildLibtermkey.cmake
vendored
2
third-party/cmake/BuildLibtermkey.cmake
vendored
@ -1,3 +1,5 @@
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
ExternalProject_Add(libtermkey
|
||||
PREFIX ${DEPS_BUILD_DIR}
|
||||
URL ${LIBTERMKEY_URL}
|
||||
|
Loading…
Reference in New Issue
Block a user