From f4a2dce829fb7cbf7e988edc5eceb40e35cbf2a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?= <47264268+JackBoosY@users.noreply.github.com> Date: Wed, 2 Sep 2020 09:12:41 -0700 Subject: [vcpkg baseline][rest-rpc] Skip check in baseline (#13295) --- ports/msgpack/CONTROL | 3 ++- ports/msgpack/portfile.cmake | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'ports/msgpack') diff --git a/ports/msgpack/CONTROL b/ports/msgpack/CONTROL index 1715eb780..1ea2e19c2 100644 --- a/ports/msgpack/CONTROL +++ b/ports/msgpack/CONTROL @@ -1,4 +1,5 @@ Source: msgpack -Version: 3.2.0-1 +Version: 3.2.0 +Port-Version: 2 Homepage: https://github.com/msgpack/msgpack-c Description: MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. diff --git a/ports/msgpack/portfile.cmake b/ports/msgpack/portfile.cmake index b0939176c..f6c6b4ed9 100644 --- a/ports/msgpack/portfile.cmake +++ b/ports/msgpack/portfile.cmake @@ -1,4 +1,7 @@ -include(vcpkg_common_functions) +if (EXISTS ${CURRENT_INSTALLED_DIR}/include/msgpack/pack.h) + message(FATAL_ERROR "Cannot install ${PORT} when rest-rpc is already installed, please remove rest-rpc using \"./vcpkg remove rest-rpc:${TARGET_TRIPLET}\"") +endif() + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO msgpack/msgpack-c -- cgit v1.2.3