aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-08-27 20:22:42 -0700
committerGitHub <noreply@github.com>2020-08-27 20:22:42 -0700
commit69f57ef4e0c7fdbfbe3f18c5d834afae3f0ac108 (patch)
tree54954eaba517a5a9fd93123d656a364f81518b4a
parentc278ca585ee342e3c3ecfa58a1c489e4e00f7bfa (diff)
downloadvcpkg-69f57ef4e0c7fdbfbe3f18c5d834afae3f0ac108.tar.gz
vcpkg-69f57ef4e0c7fdbfbe3f18c5d834afae3f0ac108.zip
[rpclib] Disable parallel configure (#13162)
-rw-r--r--ports/rpclib/CONTROL3
-rw-r--r--ports/rpclib/portfile.cmake6
2 files changed, 4 insertions, 5 deletions
diff --git a/ports/rpclib/CONTROL b/ports/rpclib/CONTROL
index 15e6abd3e..44d28780d 100644
--- a/ports/rpclib/CONTROL
+++ b/ports/rpclib/CONTROL
@@ -1,4 +1,5 @@
Source: rpclib
-Version: 2.2.1-1
+Version: 2.2.1
+Port-Version: 2
Homepage: https://github.com/rpclib/rpclib
Description: a RPC library for C++, providing both a client and server implementation. It is built using modern C++14.
diff --git a/ports/rpclib/portfile.cmake b/ports/rpclib/portfile.cmake
index 9865a2afe..eb42ebeba 100644
--- a/ports/rpclib/portfile.cmake
+++ b/ports/rpclib/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
@@ -12,6 +10,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
+ DISABLE_PARALLEL_CONFIGURE
PREFER_NINJA
)
@@ -23,5 +22,4 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/rpclib)
vcpkg_copy_pdbs()
-file(COPY ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/rpclib)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/rpclib/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/rpclib/copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)