mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:11:37 +08:00
[szip, openssl] Fix problems with mingw (#14460)
* [openssl] Use the unix portfile when building with mingw * [mingw triplets] Add architecture check exceptions for szip
This commit is contained in:
parent
4ebf188da4
commit
9336ae3df6
@ -1,5 +1,5 @@
|
||||
Source: openssl
|
||||
Version: 1.1.1h
|
||||
Port-Version: 1
|
||||
Port-Version: 2
|
||||
Homepage: https://www.openssl.org
|
||||
Description: OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.
|
||||
|
@ -15,7 +15,7 @@ vcpkg_add_to_path("${PERL_EXE_PATH}")
|
||||
|
||||
if(VCPKG_TARGET_IS_UWP)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/uwp/portfile.cmake")
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS)
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/windows/portfile.cmake")
|
||||
else()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/unix/portfile.cmake")
|
||||
|
@ -5,3 +5,6 @@ set(VCPKG_ENV_PASSTHROUGH PATH)
|
||||
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
|
||||
set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
|
||||
if(PORT STREQUAL "szip")
|
||||
set(VCPKG_POLICY_SKIP_ARCHITECTURE_CHECK enabled)
|
||||
endif()
|
||||
|
@ -5,3 +5,6 @@ set(VCPKG_ENV_PASSTHROUGH PATH)
|
||||
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
|
||||
set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
|
||||
if(PORT STREQUAL "szip")
|
||||
set(VCPKG_POLICY_SKIP_ARCHITECTURE_CHECK enabled)
|
||||
endif()
|
||||
|
@ -5,3 +5,6 @@ set(VCPKG_ENV_PASSTHROUGH PATH)
|
||||
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
|
||||
set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
|
||||
if(PORT STREQUAL "szip")
|
||||
set(VCPKG_POLICY_SKIP_ARCHITECTURE_CHECK enabled)
|
||||
endif()
|
||||
|
@ -5,3 +5,6 @@ set(VCPKG_ENV_PASSTHROUGH PATH)
|
||||
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
|
||||
set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
|
||||
if(PORT STREQUAL "szip")
|
||||
set(VCPKG_POLICY_SKIP_ARCHITECTURE_CHECK enabled)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user