mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[vcpkg.cmake] Add default triplet for mingw compilers (#19020)
This commit is contained in:
parent
5fb4257c3c
commit
193880f0a8
@ -346,6 +346,8 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR (NOT CMAKE_SYSTEM_NAME AND CMAKE_H
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT osx)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "iOS")
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT ios)
|
||||
elseif(MINGW)
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT mingw-dynamic)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR (NOT CMAKE_SYSTEM_NAME AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows"))
|
||||
set(Z_VCPKG_TARGET_TRIPLET_PLAT windows)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR (NOT CMAKE_SYSTEM_NAME AND CMAKE_HOST_SYSTEM_NAME STREQUAL "FreeBSD"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user