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.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake.deps/cmake/BuildMsgpack.cmake b/cmake.deps/cmake/BuildMsgpack.cmake
index da62741811..b59d98159d 100644
--- a/cmake.deps/cmake/BuildMsgpack.cmake
+++ b/cmake.deps/cmake/BuildMsgpack.cmake
@@ -21,6 +21,9 @@ if(MSVC)
-DCMAKE_GENERATOR=${CMAKE_GENERATOR})
endif()
+if(USE_EXISTING_SRC_DIR)
+ unset(MSGPACK_URL)
+endif()
ExternalProject_Add(msgpack
URL ${MSGPACK_URL}
URL_HASH SHA256=${MSGPACK_SHA256}