aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildMsgpack.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake.deps/cmake/BuildMsgpack.cmake')
-rw-r--r--cmake.deps/cmake/BuildMsgpack.cmake13
1 files changed, 4 insertions, 9 deletions
diff --git a/cmake.deps/cmake/BuildMsgpack.cmake b/cmake.deps/cmake/BuildMsgpack.cmake
index 431420fb62..f60bdad5c9 100644
--- a/cmake.deps/cmake/BuildMsgpack.cmake
+++ b/cmake.deps/cmake/BuildMsgpack.cmake
@@ -1,14 +1,9 @@
-if(USE_EXISTING_SRC_DIR)
- unset(MSGPACK_URL)
-endif()
ExternalProject_Add(msgpack
URL ${MSGPACK_URL}
URL_HASH SHA256=${MSGPACK_SHA256}
- DOWNLOAD_NO_PROGRESS TRUE
DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/msgpack
CMAKE_ARGS ${DEPS_CMAKE_ARGS}
- -DMSGPACK_BUILD_TESTS=OFF
- -DMSGPACK_BUILD_EXAMPLES=OFF
- CMAKE_CACHE_ARGS ${DEPS_CMAKE_CACHE_ARGS})
-
-list(APPEND THIRD_PARTY_DEPS msgpack)
+ -D MSGPACK_BUILD_TESTS=OFF
+ -D MSGPACK_BUILD_EXAMPLES=OFF
+ CMAKE_CACHE_ARGS ${DEPS_CMAKE_CACHE_ARGS}
+ ${EXTERNALPROJECT_OPTIONS})