diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-03-04 00:30:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-04 00:30:07 +0100 |
commit | 0007aa50bd3d54259bb4ae717c114f5524ec59fa (patch) | |
tree | fc8867b451c5a0dff7745d99982b31aab8b76895 /cmake.deps/cmake/BuildLua.cmake | |
parent | 7e90f247e7b3add74a49895054a543c2140bbb08 (diff) | |
download | rneovim-0007aa50bd3d54259bb4ae717c114f5524ec59fa.tar.gz rneovim-0007aa50bd3d54259bb4ae717c114f5524ec59fa.tar.bz2 rneovim-0007aa50bd3d54259bb4ae717c114f5524ec59fa.zip |
build: unset variables ending with "URL" if USE_EXISTING_SRC_DIR is ON
This will reduce required boilerplate, but more importantly it will
automatically unset variables ending on URL. This will help people
needing to avoid to unset the URL variable each time a new dependency is
added.
It is possible that this may remove a non-download variable ending on
"URL" in the future, however, the risk of this is likely much lower than
the risk of someone forgetting to unset the variable.
Diffstat (limited to 'cmake.deps/cmake/BuildLua.cmake')
-rw-r--r-- | cmake.deps/cmake/BuildLua.cmake | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake.deps/cmake/BuildLua.cmake b/cmake.deps/cmake/BuildLua.cmake index c819b8661a..9cc2202e84 100644 --- a/cmake.deps/cmake/BuildLua.cmake +++ b/cmake.deps/cmake/BuildLua.cmake @@ -42,9 +42,6 @@ set(LUA_INSTALL_TOP_ARG "INSTALL_TOP=${DEPS_INSTALL_DIR}") message(STATUS "Lua target is ${LUA_TARGET}") -if(USE_EXISTING_SRC_DIR) - unset(LUA_URL) -endif() ExternalProject_Add(lua URL ${LUA_URL} URL_HASH SHA256=${LUA_SHA256} |