early-access version 2853
This commit is contained in:
27
externals/vcpkg/ports/cppzmq/portfile.cmake
vendored
Executable file
27
externals/vcpkg/ports/cppzmq/portfile.cmake
vendored
Executable file
@@ -0,0 +1,27 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO zeromq/cppzmq
|
||||
REF v4.8.1
|
||||
SHA512 02F9B77F67DD46557705511195EB3F4F4E52381256BC9687F36D3E69DB6A628C19CFFF02209B6E6B53822A60781AB0850EB064D8F020E059FC1ACA4D191B66DB
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
draft ENABLE_DRAFTS
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
-DCPPZMQ_BUILD_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/cppzmq)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/share/${PORT}/libzmq-pkg-config")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
22
externals/vcpkg/ports/cppzmq/vcpkg.json
vendored
Executable file
22
externals/vcpkg/ports/cppzmq/vcpkg.json
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "cppzmq",
|
||||
"version": "4.8.1",
|
||||
"description": "lightweight messaging kernel, C++ bindings",
|
||||
"homepage": "https://github.com/zeromq/cppzmq",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
},
|
||||
"zeromq"
|
||||
],
|
||||
"features": {
|
||||
"draft": {
|
||||
"description": "Build and install draft"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user