aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildMsgpack.cmake
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-03-18 12:23:53 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-03-23 13:36:12 +0100
commit2c1e8f7e96926f70151d737ea32f1e6ff3589263 (patch)
treeb15ec6229fcbb724f18a7a7d5db3d10676fd42b7 /cmake.deps/cmake/BuildMsgpack.cmake
parent881f5e59173a4f1b9a4cb16e425709e40d79d0e9 (diff)
downloadrneovim-2c1e8f7e96926f70151d737ea32f1e6ff3589263.tar.gz
rneovim-2c1e8f7e96926f70151d737ea32f1e6ff3589263.tar.bz2
rneovim-2c1e8f7e96926f70151d737ea32f1e6ff3589263.zip
build: use `GIT_REPOSITORY` for local URLs
`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.
Diffstat (limited to 'cmake.deps/cmake/BuildMsgpack.cmake')
-rw-r--r--cmake.deps/cmake/BuildMsgpack.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake.deps/cmake/BuildMsgpack.cmake b/cmake.deps/cmake/BuildMsgpack.cmake
index 8cc648db13..190a37bbc6 100644
--- a/cmake.deps/cmake/BuildMsgpack.cmake
+++ b/cmake.deps/cmake/BuildMsgpack.cmake
@@ -1,7 +1,5 @@
-get_sha(msgpack ${DEPS_IGNORE_SHA})
+get_externalproject_options(msgpack ${DEPS_IGNORE_SHA})
ExternalProject_Add(msgpack
- URL ${MSGPACK_URL}
- ${EXTERNALPROJECT_URL_HASH}
DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/msgpack
CMAKE_ARGS ${DEPS_CMAKE_ARGS}
-D MSGPACK_BUILD_TESTS=OFF