mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 13:40:47 +08:00
[cppzmq] Add draft feature (#14624)
* [cppzmq] Add draft feature * Update ports/cppzmq/CONTROL
This commit is contained in:
parent
f9990d2b4c
commit
97a2954d07
@ -1,5 +1,9 @@
|
|||||||
Source: cppzmq
|
Source: cppzmq
|
||||||
Version: 4.7.1
|
Version: 4.7.1
|
||||||
|
Port-Version: 1
|
||||||
Build-Depends: zeromq
|
Build-Depends: zeromq
|
||||||
Homepage: https://github.com/zeromq/cppzmq
|
Homepage: https://github.com/zeromq/cppzmq
|
||||||
Description: lightweight messaging kernel, C++ bindings
|
Description: lightweight messaging kernel, C++ bindings
|
||||||
|
|
||||||
|
Feature: draft
|
||||||
|
Description: Build and install draft
|
||||||
|
@ -6,10 +6,15 @@ vcpkg_from_github(
|
|||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
)
|
)
|
||||||
|
|
||||||
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||||
|
draft ENABLE_DRAFTS
|
||||||
|
)
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
PREFER_NINJA
|
PREFER_NINJA
|
||||||
OPTIONS -DCPPZMQ_BUILD_TESTS=OFF
|
OPTIONS ${FEATURE_OPTIONS}
|
||||||
|
-DCPPZMQ_BUILD_TESTS=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user