mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00

`GIT_REPOSITORY` will cause cmake to rebuild if local dependency changes, which isn't the case for `URL`. Also document how to test a different commits of a dependency.
11 lines
337 B
CMake
11 lines
337 B
CMake
get_externalproject_options(libuv ${DEPS_IGNORE_SHA})
|
|
ExternalProject_Add(libuv
|
|
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
|
|
-D UV_LINT_W4=OFF
|
|
CMAKE_CACHE_ARGS ${DEPS_CMAKE_CACHE_ARGS}
|
|
${EXTERNALPROJECT_OPTIONS})
|