neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 8a6716682e6ef59e0396a14d1d83abb6db7b2b81
parent a1d885dbefb0a7163c622bc66b5629553ef311c5
Author: James McCoy <jamessan@jamessan.com>
Date:   Mon, 22 May 2023 19:24:36 -0400

fix(deps): restore functionality of USE_EXISTING_SRC_DIR

30a0299bc removed the USE_EXISTING_SRC_DIR hack which broke building the
nightly PPA since ExternalProject tried to download the sources.

Diffstat:
Mcmake.deps/CMakeLists.txt | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cmake.deps/CMakeLists.txt b/cmake.deps/CMakeLists.txt @@ -88,7 +88,11 @@ foreach(dep ${DEPENDENCIES}) list(GET dep 0 name) list(GET dep 1 value) if(NOT ${name}) - set(${name} ${value}) + # _URL variables must NOT be set when USE_EXISTING_SRC_DIR is set, + # otherwise ExternalProject will try to re-download the sources. + if(NOT USE_EXISTING_SRC_DIR) + set(${name} ${value}) + endif() endif() endforeach()