mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
0007aa50bd
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.
11 lines
313 B
CMake
11 lines
313 B
CMake
ExternalProject_Add(libuv
|
|
URL ${LIBUV_URL}
|
|
URL_HASH SHA256=${LIBUV_SHA256}
|
|
DOWNLOAD_NO_PROGRESS TRUE
|
|
DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/libuv
|
|
CMAKE_ARGS ${DEPS_CMAKE_ARGS}
|
|
-D CMAKE_INSTALL_LIBDIR=lib
|
|
-D BUILD_TESTING=OFF
|
|
-D LIBUV_BUILD_SHARED=OFF
|
|
CMAKE_CACHE_ARGS ${DEPS_CMAKE_CACHE_ARGS})
|