aboutsummaryrefslogtreecommitdiff
path: root/ports/czmq
diff options
context:
space:
mode:
authorVictor Romero <romerosanchezv@gmail.com>2019-08-13 20:13:55 -0700
committerGitHub <noreply@github.com>2019-08-13 20:13:55 -0700
commita3a6530631df905eb5c0e26d0b20d7d548e0c465 (patch)
tree9750c490522529844a3e5104d25fd65abc1e1182 /ports/czmq
parente6a21e1b421e8231f3eb46d8af574a990b5da8c8 (diff)
downloadvcpkg-a3a6530631df905eb5c0e26d0b20d7d548e0c465.tar.gz
vcpkg-a3a6530631df905eb5c0e26d0b20d7d548e0c465.zip
[vcpkg_check_features] Set output variable explicitly and allow reverse-logic check (#7558)
* [vcpkg_check_features] Set OUT_EXPAND_OPTIONS explicitly * [vcpkg_check_features] Allow reverse logic for features * [vcpkg_check_features] Document new parameters * [vcpkg_check_features] Remove unnecessary logging * Do not create variables for each feature only set OUT_FEATURE_OPTIONS * Improve documentation * Update ports that use vcpkg_check_features() * Missing documentation updates * [pcl] Fix tools feature * [opencv,opencv4] Fix usage of vcpkg_check_features() * [opencv4] Fix typo
Diffstat (limited to 'ports/czmq')
-rw-r--r--ports/czmq/CONTROL2
-rw-r--r--ports/czmq/portfile.cmake14
2 files changed, 8 insertions, 8 deletions
diff --git a/ports/czmq/CONTROL b/ports/czmq/CONTROL
index 55cba0bd4..c24d918e0 100644
--- a/ports/czmq/CONTROL
+++ b/ports/czmq/CONTROL
@@ -1,5 +1,5 @@
Source: czmq
-Version: 2019-06-10-1
+Version: 2019-06-10-2
Build-Depends: zeromq
Description: High-level C binding for ZeroMQ
Homepage: https://github.com/zeromq/czmq
diff --git a/ports/czmq/portfile.cmake b/ports/czmq/portfile.cmake
index bba5e6e22..3c0e4c604 100644
--- a/ports/czmq/portfile.cmake
+++ b/ports/czmq/portfile.cmake
@@ -27,13 +27,13 @@ endforeach()
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)
-vcpkg_check_features(
- draft ENABLE_DRAFTS
- tool BUILD_TOOLS
- curl CZMQ_WITH_LIBCURL
- httpd CZMQ_WITH_LIBMICROHTTPD
- lz4 CZMQ_WITH_LZ4
- uuid CZMQ_WITH_UUID
+vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
+ draft ENABLE_DRAFTS
+ tool BUILD_TOOLS
+ curl CZMQ_WITH_LIBCURL
+ httpd CZMQ_WITH_LIBMICROHTTPD
+ lz4 CZMQ_WITH_LZ4
+ uuid CZMQ_WITH_UUID
)
vcpkg_configure_cmake(