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.
This commit is contained in:
Daniel Hahler
2019-07-04 15:17:59 +02:00
committed by GitHub
parent efc6d9951b
commit fd8d26a713
2 changed files with 3 additions and 1 deletions

View File

@@ -191,6 +191,9 @@ endif()
if(USE_BUNDLED_LIBTERMKEY) if(USE_BUNDLED_LIBTERMKEY)
include(BuildLibtermkey) include(BuildLibtermkey)
if(USE_BUNDLED_UNIBILIUM)
add_dependencies(libtermkey unibilium)
endif()
endif() endif()
if(USE_BUNDLED_LIBVTERM) if(USE_BUNDLED_LIBVTERM)

View File

@@ -53,4 +53,3 @@ ExternalProject_Add(libtermkey
endif() endif()
list(APPEND THIRD_PARTY_DEPS libtermkey) list(APPEND THIRD_PARTY_DEPS libtermkey)
add_dependencies(libtermkey unibilium)