aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-07-04 15:17:59 +0200
committerGitHub <noreply@github.com>2019-07-04 15:17:59 +0200
commitfd8d26a7131bb15ce5f877328545911c36d1500e (patch)
tree3e0fcb02288d6385197bc7d598b1fd55d761e809
parentefc6d9951b8abf4095f79a72f37e3a61c3607299 (diff)
downloadrneovim-fd8d26a7131bb15ce5f877328545911c36d1500e.tar.gz
rneovim-fd8d26a7131bb15ce5f877328545911c36d1500e.tar.bz2
rneovim-fd8d26a7131bb15ce5f877328545911c36d1500e.zip
third-party: fix warning with (un)bundled libtermkey/unibilium (#10416)
Fixes warning with: > cmake -S third-party -B .deps -DUSE_BUNDLED=OFF -DUSE_BUNDLED_UNIBILIUM=0 -DUSE_BUNDLED_LIBTERMKEY=1 > The dependency target "unibilium" of target "libtermkey" does not exist.
-rw-r--r--third-party/CMakeLists.txt3
-rw-r--r--third-party/cmake/BuildLibtermkey.cmake1
2 files changed, 3 insertions, 1 deletions
diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt
index 5db8e10a33..b2b05e1175 100644
--- a/third-party/CMakeLists.txt
+++ b/third-party/CMakeLists.txt
@@ -191,6 +191,9 @@ endif()
if(USE_BUNDLED_LIBTERMKEY)
include(BuildLibtermkey)
+ if(USE_BUNDLED_UNIBILIUM)
+ add_dependencies(libtermkey unibilium)
+ endif()
endif()
if(USE_BUNDLED_LIBVTERM)
diff --git a/third-party/cmake/BuildLibtermkey.cmake b/third-party/cmake/BuildLibtermkey.cmake
index da65c87972..b2332ed65a 100644
--- a/third-party/cmake/BuildLibtermkey.cmake
+++ b/third-party/cmake/BuildLibtermkey.cmake
@@ -53,4 +53,3 @@ ExternalProject_Add(libtermkey
endif()
list(APPEND THIRD_PARTY_DEPS libtermkey)
-add_dependencies(libtermkey unibilium)