early-access version 2853
This commit is contained in:
17
externals/vcpkg/ports/protozero/fix-no-tests.patch
vendored
Executable file
17
externals/vcpkg/ports/protozero/fix-no-tests.patch
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Wed, 16 Feb 2022 00:11:38 +0100
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index b975d490..df2ca15f 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -52,7 +52,9 @@ endif()
|
||||
#
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
-find_package(Protobuf)
|
||||
+if(BUILD_TESTING)
|
||||
+ find_package(Protobuf)
|
||||
+endif()
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
22
externals/vcpkg/ports/protozero/portfile.cmake
vendored
Executable file
22
externals/vcpkg/ports/protozero/portfile.cmake
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mapbox/protozero
|
||||
SHA512 90bf1f487efa0ad9da2f3b887b7a6dbd849fa3687dd2126c324f902a8584722f4f7d4a2ea86f6a0e75999f7be829f6ae26cad9df1cae55d0b29a9ec24a4dbfd2
|
||||
REF v1.7.1
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-no-tests.patch # from https://github.com/mapbox/protozero/pull/110
|
||||
)
|
||||
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug")
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
19
externals/vcpkg/ports/protozero/vcpkg.json
vendored
Executable file
19
externals/vcpkg/ports/protozero/vcpkg.json
vendored
Executable file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "protozero",
|
||||
"version-semver": "1.7.1",
|
||||
"description": "Minimalist protocol buffer decoder and encoder in C++",
|
||||
"homepage": "https://github.com/mapbox/protozero",
|
||||
"license": "BSD-2-Clause",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
"protobuf",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user