mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[poolstl] New Port (#38951)
--------- Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
parent
ec5dd00496
commit
53310a9fd1
14
ports/poolstl/fix-find-dependency.patch
Normal file
14
ports/poolstl/fix-find-dependency.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/cmake/config.cmake.in b/cmake/config.cmake.in
|
||||
--- a/cmake/config.cmake.in
|
||||
+++ b/cmake/config.cmake.in
|
||||
@@ -1,7 +1,10 @@
|
||||
|
||||
@PACKAGE_INIT@
|
||||
|
||||
+include(CMakeFindDependencyMacro)
|
||||
+find_dependency(Threads)
|
||||
+
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
||||
|
||||
set_and_check(@PROJECT_NAME@_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
|
||||
check_required_components("@PROJECT_NAME@")
|
30
ports/poolstl/portfile.cmake
Normal file
30
ports/poolstl/portfile.cmake
Normal file
@ -0,0 +1,30 @@
|
||||
set(VCPKG_BUILD_TYPE release) # header-only
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO alugowski/poolSTL
|
||||
REF "v${VERSION}"
|
||||
SHA512 a2d29056b29f32f034560f88e05f7257ff1f43b46579b940da3e340c97cf8bfbb7d886f5101044d5e22931af37bbcf72f956a0157e135cdf10c7a987e56ba081
|
||||
HEAD_REF main
|
||||
PATCHES
|
||||
fix-find-dependency.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/poolSTL)
|
||||
|
||||
vcpkg_install_copyright(
|
||||
COMMENT [[
|
||||
poolSTL is triple-licensed under the BSD 2-Clause License,
|
||||
the Boost Software License 1.0, and the MIT license.
|
||||
You may select, at your option, one of the above-listed licenses.
|
||||
]]
|
||||
FILE_LIST
|
||||
"${SOURCE_PATH}/LICENSE-BSD.txt"
|
||||
"${SOURCE_PATH}/LICENSE-Boost.txt"
|
||||
"${SOURCE_PATH}/LICENSE-MIT.txt"
|
||||
)
|
17
ports/poolstl/vcpkg.json
Normal file
17
ports/poolstl/vcpkg.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "poolstl",
|
||||
"version": "0.3.5",
|
||||
"description": "Light and self-contained implementation of C++17 parallel algorithms.",
|
||||
"homepage": "https://github.com/alugowski/poolSTL",
|
||||
"license": "BSD-2-Clause OR BSL-1.0 OR MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -6924,6 +6924,10 @@
|
||||
"baseline": "3.0.0",
|
||||
"port-version": 5
|
||||
},
|
||||
"poolstl": {
|
||||
"baseline": "0.3.5",
|
||||
"port-version": 0
|
||||
},
|
||||
"poppler": {
|
||||
"baseline": "24.3.0",
|
||||
"port-version": 1
|
||||
|
9
versions/p-/poolstl.json
Normal file
9
versions/p-/poolstl.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "cd389d672b95840dece30b7eda8aafc1c2b2c59a",
|
||||
"version": "0.3.5",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user