aboutsummaryrefslogtreecommitdiff
path: root/scripts/buildsystems/vcpkg.cmake
diff options
context:
space:
mode:
authorAndrei Lebedev <lebdron@gmail.com>2020-07-23 23:16:01 +0200
committerGitHub <noreply@github.com>2020-07-23 14:16:01 -0700
commit077c0746be3773fdd443af52cbe5c3cc26379a15 (patch)
treed40ab5c6c10906a572d34a8cdb65967b89ead0b2 /scripts/buildsystems/vcpkg.cmake
parent0896cfcc301843b455bf14497a15b0e775735198 (diff)
downloadvcpkg-077c0746be3773fdd443af52cbe5c3cc26379a15.tar.gz
vcpkg-077c0746be3773fdd443af52cbe5c3cc26379a15.zip
[vcpkg] Add initial s390x support (#12534)
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
Diffstat (limited to 'scripts/buildsystems/vcpkg.cmake')
-rw-r--r--scripts/buildsystems/vcpkg.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index 4ee79d179..b0b4cde3e 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -151,6 +151,8 @@ else()
endif()
elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "AMD64")
set(_VCPKG_TARGET_TRIPLET_ARCH x64)
+ elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "s390x")
+ set(_VCPKG_TARGET_TRIPLET_ARCH s390x)
else()
if( _CMAKE_IN_TRY_COMPILE )
message(STATUS "Unable to determine target architecture, continuing without vcpkg.")