diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2019-12-20 12:25:18 -0800 |
|---|---|---|
| committer | dan-shaw <51385773+dan-shaw@users.noreply.github.com> | 2019-12-20 12:25:18 -0800 |
| commit | 765923bcf6319689bfcad1b204741eda44ebfe89 (patch) | |
| tree | 4b96cd4590bf739646bf9f3d9b6fc382bcb76d3b | |
| parent | 0173bf09bd6dfad4ed74c4d9ac3a53dd33fbb59d (diff) | |
| download | vcpkg-765923bcf6319689bfcad1b204741eda44ebfe89.tar.gz vcpkg-765923bcf6319689bfcad1b204741eda44ebfe89.zip | |
[libevent] Add thread as default feature (#9101)
| -rw-r--r-- | ports/libevent/CONTROL | 3 | ||||
| -rw-r--r-- | ports/libevent/portfile.cmake | 10 |
2 files changed, 5 insertions, 8 deletions
diff --git a/ports/libevent/CONTROL b/ports/libevent/CONTROL index 59ee136dd..8f1199680 100644 --- a/ports/libevent/CONTROL +++ b/ports/libevent/CONTROL @@ -1,8 +1,9 @@ Source: libevent
-Version: 2.1.11-1
+Version: 2.1.11-2
Build-Depends: openssl
Homepage: https://github.com/libevent/libevent
Description: An event notification library
+Default-Features: thread
Feature: openssl
Description: Support for openssl
diff --git a/ports/libevent/portfile.cmake b/ports/libevent/portfile.cmake index e04e5f58d..711f5e93d 100644 --- a/ports/libevent/portfile.cmake +++ b/ports/libevent/portfile.cmake @@ -1,8 +1,4 @@ -include(vcpkg_common_functions) - -if(VCPKG_CMAKE_SYSTEM_NAME MATCHES "WindowsStore") - message(FATAL_ERROR "${PORT} does not currently support UWP") -endif() +vcpkg_fail_port_install(MESSAGE "${PORT} does not currently support UWP" ON_TARGET "uwp") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH @@ -57,5 +53,5 @@ endif() vcpkg_copy_pdbs() -file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libevent) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/libevent/LICENSE ${CURRENT_PACKAGES_DIR}/share/libevent/copyright) +#Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file |
