From 1721e115b4e02887f29a08265880741c9d8ffb3f Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Thu, 7 May 2015 09:11:09 +0000 Subject: 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. --- third-party/cmake/BuildLibtermkey.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'third-party/cmake/BuildLibtermkey.cmake') diff --git a/third-party/cmake/BuildLibtermkey.cmake b/third-party/cmake/BuildLibtermkey.cmake index 2570dadc0e..882082d349 100644 --- a/third-party/cmake/BuildLibtermkey.cmake +++ b/third-party/cmake/BuildLibtermkey.cmake @@ -1,3 +1,5 @@ +find_package(PkgConfig REQUIRED) + ExternalProject_Add(libtermkey PREFIX ${DEPS_BUILD_DIR} URL ${LIBTERMKEY_URL} -- cgit