[libevent] Add thread as default feature (#9101)

This commit is contained in:
NancyLi1013 2019-12-20 12:25:18 -08:00 committed by dan-shaw
parent 0173bf09bd
commit 765923bcf6
2 changed files with 5 additions and 8 deletions

View File

@ -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

View File

@ -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)