aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2015-05-07 09:11:09 +0000
committerMichael Reed <m.reed@mykolab.com>2015-05-08 16:14:15 -0400
commit1721e115b4e02887f29a08265880741c9d8ffb3f (patch)
tree757909758dc4b1630cedbd520a41dd9b3b075e8d
parentde58eafd1168cd201f0ee89473eada68296c2f42 (diff)
downloadrneovim-1721e115b4e02887f29a08265880741c9d8ffb3f.tar.gz
rneovim-1721e115b4e02887f29a08265880741c9d8ffb3f.tar.bz2
rneovim-1721e115b4e02887f29a08265880741c9d8ffb3f.zip
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.
-rw-r--r--third-party/cmake/BuildLibtermkey.cmake2
1 files changed, 2 insertions, 0 deletions
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}