vcpkg/triplets/community/x86-mingw-dynamic.cmake
Long Nguyen 9336ae3df6
[szip, openssl] Fix problems with mingw (#14460)
* [openssl] Use the unix portfile when building with mingw

* [mingw triplets] Add architecture check exceptions for szip
2020-11-09 15:21:03 -08:00

11 lines
298 B
CMake

set(VCPKG_TARGET_ARCHITECTURE x86)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)
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()