diff options
| author | James McCoy <jamessan@jamessan.com> | 2023-05-22 19:24:36 -0400 |
|---|---|---|
| committer | James McCoy <jamessan@jamessan.com> | 2023-05-22 19:24:36 -0400 |
| commit | 8a6716682e6ef59e0396a14d1d83abb6db7b2b81 (patch) | |
| tree | db1ecc317242aaedd55f30420444048c56591a4f | |
| parent | a1d885dbefb0a7163c622bc66b5629553ef311c5 (diff) | |
| download | rneovim-8a6716682e6ef59e0396a14d1d83abb6db7b2b81.tar.gz rneovim-8a6716682e6ef59e0396a14d1d83abb6db7b2b81.tar.bz2 rneovim-8a6716682e6ef59e0396a14d1d83abb6db7b2b81.zip | |
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.
| -rw-r--r-- | cmake.deps/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake.deps/CMakeLists.txt b/cmake.deps/CMakeLists.txt index 4666ed4f1a..86d2228e68 100644 --- 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() |