mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-27 13:10:52 +00:00
openvpn3: bump version (#8851)
This bumps openvpn3 version to latest stable release and adds missing libraries. Signed-off-by: Lev Stipakov <lev@openvpn.net>
This commit is contained in:
parent
9bf809b610
commit
ad34a65684
@ -12,10 +12,10 @@ if(WIN32)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
|
||||
endif()
|
||||
|
||||
add_definitions(-DNOMINMAX -DUSE_ASIO -DUSE_MBEDTLS)
|
||||
add_definitions(-DNOMINMAX -DUSE_ASIO -DUSE_MBEDTLS -D_WIN32_WINNT=0x0600)
|
||||
|
||||
add_library(ovpncli client/ovpncli.cpp)
|
||||
target_link_libraries(ovpncli PRIVATE Iphlpapi.lib ${MBEDTLS_LIB} ${MBEDCRYPTO_LIB} ${MBEDX509_LIB})
|
||||
target_link_libraries(ovpncli PRIVATE Iphlpapi.lib Wininet.lib Setupapi.lib Cfgmgr32.lib Rpcrt4.lib Fwpuclnt.lib Wtsapi32.lib ${MBEDTLS_LIB} ${MBEDCRYPTO_LIB} ${MBEDX509_LIB})
|
||||
|
||||
install(
|
||||
TARGETS ovpncli
|
||||
@ -26,5 +26,6 @@ install(
|
||||
|
||||
if(BUILD_TOOL)
|
||||
add_executable(cli test/ovpncli/cli.cpp)
|
||||
target_link_libraries(cli PRIVATE ovpncli)
|
||||
target_compile_definitions(cli PRIVATE -DTAP_WIN_COMPONENT_ID=tap0901)
|
||||
target_link_libraries(cli PRIVATE ovpncli)
|
||||
endif()
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: openvpn3
|
||||
Version: 2018-03-21-1
|
||||
Version: 3.4.1
|
||||
Build-Depends: asio, tap-windows6 (windows), mbedtls
|
||||
Description: a C++ class library that implements the functionality of an OpenVPN client, and is protocol-compatible with the OpenVPN 2.x branch.
|
||||
|
@ -5,8 +5,8 @@ set(VCPKG_LIBRARY_LINKAGE static)
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO OpenVPN/openvpn3
|
||||
REF 3d5dd9ee3b4182032044d775de5401fc6a7a63ae
|
||||
SHA512 6a8ed20662efa576c57f38fb9579c5808f745d44e8cd6a84055bec10a58ede5d27e207a842f79ac6a2f7d986494fbd2415f9d59e2b23bd38e45c68546a227697
|
||||
REF release/3.4.1
|
||||
SHA512 2d0a7d2d48047c969ba1cb49b34d51c85dd82ae97296d7c096ead13a8e7cc69fa3908262228e29d93f60b7273814d8ef5a402a5d401cd7f91370868d5d308678
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user