mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:11:58 +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
|
||||
Version: 4.7.1
|
||||
Port-Version: 1
|
||||
Build-Depends: zeromq
|
||||
Homepage: https://github.com/zeromq/cppzmq
|
||||
Description: lightweight messaging kernel, C++ bindings
|
||||
|
||||
Feature: draft
|
||||
Description: Build and install draft
|
||||
|
@ -6,10 +6,15 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
draft ENABLE_DRAFTS
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS -DCPPZMQ_BUILD_TESTS=OFF
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
-DCPPZMQ_BUILD_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
Loading…
x
Reference in New Issue
Block a user